libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Macros | |
#define | EEFC EEFC_BASE |
#define | EEFC0 EEFC0_BASE |
#define | EEFC1 EEFC1_BASE |
#define | EEFC_FMR(port) MMIO32((port) + 0x00) |
#define | EEFC_FCR(port) MMIO32((port) + 0x04) |
#define | EEFC_FSR(port) MMIO32((port) + 0x08) |
#define | EEFC_FRR(port) MMIO32((port) + 0x0C) |
#define | EEFC_FMR_FAM (0x01 << 24) |
#define | EEFC_FMR_FWS_MASK (0x0F << 8) |
#define | EEFC_FMR_FRDY (0x01 << 0) |
#define | EEFC_FCR_FKEY (0x5A << 24) |
#define | EEFC_FCR_FARG_MASK (0xFFFF << 8) |
#define | EEFC_FCR_FCMD_MASK (0xFF << 0) |
#define | EEFC_FCR_FCMD_GETD (0x00 << 0) |
#define | EEFC_FCR_FCMD_WP (0x01 << 0) |
#define | EEFC_FCR_FCMD_WPL (0x02 << 0) |
#define | EEFC_FCR_FCMD_EWP (0x03 << 0) |
#define | EEFC_FCR_FCMD_EWPL (0x04 << 0) |
#define | EEFC_FCR_FCMD_EA (0x05 << 0) |
#define | EEFC_FCR_FCMD_SLB (0x08 << 0) |
#define | EEFC_FCR_FCMD_CLB (0x09 << 0) |
#define | EEFC_FCR_FCMD_GLB (0x0A << 0) |
#define | EEFC_FCR_FCMD_SGPB (0x0B << 0) |
#define | EEFC_FCR_FCMD_CGPB (0x0C << 0) |
#define | EEFC_FCR_FCMD_GGPB (0x0D << 0) |
#define | EEFC_FCR_FCMD_STUI (0x0E << 0) |
#define | EEFC_FCR_FCMD_SPUI (0x0F << 0) |
#define | EEFC_FSR_FLOCKE (0x01 << 2) |
#define | EEFC_FSR_FCMDE (0x01 << 1) |
#define | EEFC_FSR_FRDY (0x01 << 0) |
Functions | |
static void | eefc_set_latency (uint8_t wait) |
|
inlinestatic |
Definition at line 72 of file eefc.h.
References EEFC, EEFC0, EEFC1, and EEFC_FMR.
Referenced by pmc_clock_setup_in_rc_4mhz_out_84mhz(), and pmc_clock_setup_in_xtal_12mhz_out_84mhz().