libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.

Not all attributes are available on v6m. More...

Collaboration diagram for MPU RASR Attributes:

Macros

#define MPU_RASR_ATTR_XN   (1 << 28)
 Execute never. More...
 
#define MPU_RASR_ATTR_AP   (7 << 24)
 Access permissions mask. More...
 
#define MPU_RASR_ATTR_AP_PNO_UNO   (0 << 24)
 Priv. More...
 
#define MPU_RASR_ATTR_AP_PRW_UNO   (1 << 24)
 Priv. More...
 
#define MPU_RASR_ATTR_AP_PRW_URO   (2 << 24)
 Priv. More...
 
#define MPU_RASR_ATTR_AP_PRW_URW   (3 << 24)
 Priv. More...
 
#define MPU_RASR_ATTR_AP_PRO_UNO   (5 << 24)
 Priv. More...
 
#define MPU_RASR_ATTR_AP_PRO_URO   (6 << 24)
 Priv. More...
 
#define MPU_RASR_ATTR_TEX   (7 << 19)
 Type extension (e.g., memory ordering) More...
 
#define MPU_RASR_ATTR_S   (1 << 18)
 Shareable. More...
 
#define MPU_RASR_ATTR_C   (1 << 17)
 Cacheable. More...
 
#define MPU_RASR_ATTR_B   (1 << 16)
 Bufferable. More...
 
#define MPU_RASR_ATTR_SCB   (7 << 16)
 SCB mask. More...
 

Detailed Description

Not all attributes are available on v6m.

Macro Definition Documentation

◆ MPU_RASR_ATTR_AP

#define MPU_RASR_ATTR_AP   (7 << 24)

Access permissions mask.

Definition at line 116 of file mpu.h.

◆ MPU_RASR_ATTR_AP_PNO_UNO

#define MPU_RASR_ATTR_AP_PNO_UNO   (0 << 24)

Priv.

: no, Unpriv.: no

Definition at line 117 of file mpu.h.

◆ MPU_RASR_ATTR_AP_PRO_UNO

#define MPU_RASR_ATTR_AP_PRO_UNO   (5 << 24)

Priv.

: RO, Unpriv.: no

Definition at line 121 of file mpu.h.

◆ MPU_RASR_ATTR_AP_PRO_URO

#define MPU_RASR_ATTR_AP_PRO_URO   (6 << 24)

Priv.

: RO, Unpriv.: RO

Definition at line 122 of file mpu.h.

◆ MPU_RASR_ATTR_AP_PRW_UNO

#define MPU_RASR_ATTR_AP_PRW_UNO   (1 << 24)

Priv.

: RW, Unpriv.: no

Definition at line 118 of file mpu.h.

◆ MPU_RASR_ATTR_AP_PRW_URO

#define MPU_RASR_ATTR_AP_PRW_URO   (2 << 24)

Priv.

: RW, Unpriv.: RO

Definition at line 119 of file mpu.h.

◆ MPU_RASR_ATTR_AP_PRW_URW

#define MPU_RASR_ATTR_AP_PRW_URW   (3 << 24)

Priv.

: RW, Unpriv.: RW

Definition at line 120 of file mpu.h.

◆ MPU_RASR_ATTR_B

#define MPU_RASR_ATTR_B   (1 << 16)

Bufferable.

Definition at line 126 of file mpu.h.

◆ MPU_RASR_ATTR_C

#define MPU_RASR_ATTR_C   (1 << 17)

Cacheable.

Definition at line 125 of file mpu.h.

◆ MPU_RASR_ATTR_S

#define MPU_RASR_ATTR_S   (1 << 18)

Shareable.

Definition at line 124 of file mpu.h.

◆ MPU_RASR_ATTR_SCB

#define MPU_RASR_ATTR_SCB   (7 << 16)

SCB mask.

Definition at line 127 of file mpu.h.

◆ MPU_RASR_ATTR_TEX

#define MPU_RASR_ATTR_TEX   (7 << 19)

Type extension (e.g., memory ordering)

Definition at line 123 of file mpu.h.

◆ MPU_RASR_ATTR_XN

#define MPU_RASR_ATTR_XN   (1 << 28)

Execute never.

Definition at line 115 of file mpu.h.