libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Macros | |
#define | MEMCTL_MEMSTATUS MMIO32(MEMCTL_BASE + 0x0004) |
Memory Controller Status Register. More... | |
#define | MEMCTL_MEMSTATUS_WBUSY BIT0 |
#define | MEMCTL_MEMSTATUS_EBUSY BIT1 |
#define | MEMCTL_MEMSTATUS_WRITEWORDCNT_MASK (0x3) |
#define | MEMCTL_MEMSTATUS_WRITEWORDCNT_SHIFT 8 |
#define | MEMCTL_MEMSTATUS_WRITEWORDCNT ((MEMCTL_MEMSTATUS >> MEMCTL_MEMSTATUS_WRITEWORDCNT_SHIFT) & MEMCTL_MEMSTATUS_WRITEWORDCNT_MASK) |
#define | MEMCTL_MEMSTATUS_WRITEWORDCNT_4BYTES (0) |
#define | MEMCTL_MEMSTATUS_WRITEWORDCNT_8BYTES (1) |
#define | MEMCTL_MEMSTATUS_WRITEWORDCNT_12BYTES (2) |
#define | MEMCTL_MEMSTATUS_WRITEWORDCNT_16BYTES (3) |
#define | MEMCTL_MEMSTATUS_SE BIT16 |
#define | MEMCTL_MEMSTATUS_DE BIT17 |
#define | MEMCTL_MEMSTATUS_INVADDR BIT18 |
#define MEMCTL_MEMSTATUS MMIO32(MEMCTL_BASE + 0x0004) |
#define MEMCTL_MEMSTATUS_WRITEWORDCNT ((MEMCTL_MEMSTATUS >> MEMCTL_MEMSTATUS_WRITEWORDCNT_SHIFT) & MEMCTL_MEMSTATUS_WRITEWORDCNT_MASK) |