libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Memory Controller Status Register
Collaboration diagram for Memory Controller Status Register:

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
 

Detailed Description

Macro Definition Documentation

◆ MEMCTL_MEMSTATUS

#define MEMCTL_MEMSTATUS   MMIO32(MEMCTL_BASE + 0x0004)

Memory Controller Status Register.

Definition at line 63 of file memctl.h.

◆ MEMCTL_MEMSTATUS_DE

#define MEMCTL_MEMSTATUS_DE   BIT17

Definition at line 74 of file memctl.h.

◆ MEMCTL_MEMSTATUS_EBUSY

#define MEMCTL_MEMSTATUS_EBUSY   BIT1

Definition at line 65 of file memctl.h.

◆ MEMCTL_MEMSTATUS_INVADDR

#define MEMCTL_MEMSTATUS_INVADDR   BIT18

Definition at line 75 of file memctl.h.

◆ MEMCTL_MEMSTATUS_SE

#define MEMCTL_MEMSTATUS_SE   BIT16

Definition at line 73 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WBUSY

#define MEMCTL_MEMSTATUS_WBUSY   BIT0

Definition at line 64 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WRITEWORDCNT

Definition at line 68 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WRITEWORDCNT_12BYTES

#define MEMCTL_MEMSTATUS_WRITEWORDCNT_12BYTES   (2)

Definition at line 71 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WRITEWORDCNT_16BYTES

#define MEMCTL_MEMSTATUS_WRITEWORDCNT_16BYTES   (3)

Definition at line 72 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WRITEWORDCNT_4BYTES

#define MEMCTL_MEMSTATUS_WRITEWORDCNT_4BYTES   (0)

Definition at line 69 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WRITEWORDCNT_8BYTES

#define MEMCTL_MEMSTATUS_WRITEWORDCNT_8BYTES   (1)

Definition at line 70 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WRITEWORDCNT_MASK

#define MEMCTL_MEMSTATUS_WRITEWORDCNT_MASK   (0x3)

Definition at line 66 of file memctl.h.

◆ MEMCTL_MEMSTATUS_WRITEWORDCNT_SHIFT

#define MEMCTL_MEMSTATUS_WRITEWORDCNT_SHIFT   8

Definition at line 67 of file memctl.h.