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

Defines for the Region Attribute and Size Register. More...

Collaboration diagram for MPU RASR register fields:

Modules

 MPU RASR Attributes
 Not all attributes are available on v6m.
 

Macros

#define MPU_RASR_ATTRS_LSB   16
 
#define MPU_RASR_ATTRS   (0xFFFF << MPU_RASR_ATTRS_LSB)
 
#define MPU_RASR_SRD_LSB   8
 
#define MPU_RASR_SRD   (0xFF << MPU_RASR_SRD_LSB)
 
#define MPU_RASR_SIZE_LSB   1
 
#define MPU_RASR_SIZE   (0x1F << MPU_RASR_SIZE_LSB)
 
#define MPU_RASR_ENABLE   (1 << 0)
 

Detailed Description

Defines for the Region Attribute and Size Register.

Macro Definition Documentation

◆ MPU_RASR_ATTRS

#define MPU_RASR_ATTRS   (0xFFFF << MPU_RASR_ATTRS_LSB)

Definition at line 106 of file mpu.h.

◆ MPU_RASR_ATTRS_LSB

#define MPU_RASR_ATTRS_LSB   16

Definition at line 105 of file mpu.h.

◆ MPU_RASR_ENABLE

#define MPU_RASR_ENABLE   (1 << 0)

Definition at line 111 of file mpu.h.

◆ MPU_RASR_SIZE

#define MPU_RASR_SIZE   (0x1F << MPU_RASR_SIZE_LSB)

Definition at line 110 of file mpu.h.

◆ MPU_RASR_SIZE_LSB

#define MPU_RASR_SIZE_LSB   1

Definition at line 109 of file mpu.h.

◆ MPU_RASR_SRD

#define MPU_RASR_SRD   (0xFF << MPU_RASR_SRD_LSB)

Definition at line 108 of file mpu.h.

◆ MPU_RASR_SRD_LSB

#define MPU_RASR_SRD_LSB   8

Definition at line 107 of file mpu.h.