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) /** Region attributes */
 
#define MPU_RASR_SRD_LSB   8
 
#define MPU_RASR_SRD   (0xFF << MPU_RASR_SRD_LSB)
 Subregion disable bits. More...
 
#define MPU_RASR_SIZE_LSB   1
 
#define MPU_RASR_SIZE   (0x1F << MPU_RASR_SIZE_LSB)
 Region size. More...
 
#define MPU_RASR_ENABLE   (1 << 0)
 Region enable bit. More...
 

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) /** Region attributes */

Definition at line 103 of file mpu.h.

◆ MPU_RASR_ATTRS_LSB

#define MPU_RASR_ATTRS_LSB   16

Definition at line 102 of file mpu.h.

◆ MPU_RASR_ENABLE

#define MPU_RASR_ENABLE   (1 << 0)

Region enable bit.

Definition at line 108 of file mpu.h.

◆ MPU_RASR_SIZE

#define MPU_RASR_SIZE   (0x1F << MPU_RASR_SIZE_LSB)

Region size.

Definition at line 107 of file mpu.h.

◆ MPU_RASR_SIZE_LSB

#define MPU_RASR_SIZE_LSB   1

Definition at line 106 of file mpu.h.

◆ MPU_RASR_SRD

#define MPU_RASR_SRD   (0xFF << MPU_RASR_SRD_LSB)

Subregion disable bits.

Definition at line 105 of file mpu.h.

◆ MPU_RASR_SRD_LSB

#define MPU_RASR_SRD_LSB   8

Definition at line 104 of file mpu.h.