libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
The MPU_TYPE register is always available, even if the MPU is not implemented. More...
Macros | |
#define | MPU_TYPE_IREGION_LSB 16 |
#define | MPU_TYPE_IREGION (0xFF << MPU_TYPE_IREGION_LSB) |
Number of protected instruction regions; always 0 on v6m/v7m. More... | |
#define | MPU_TYPE_DREGION_LSB 8 |
#define | MPU_TYPE_DREGION (0xFF << MPU_TYPE_DREGION_LSB) |
Number of protected data regions. More... | |
#define | MPU_TYPE_SEPARATE (1<<0) |
Indicates if instruction regions are separate from data regions; always 0 on v6m/v7m. More... | |
The MPU_TYPE register is always available, even if the MPU is not implemented.
In that case, the DREGION field will read as 0.
#define MPU_TYPE_DREGION (0xFF << MPU_TYPE_DREGION_LSB) |
#define MPU_TYPE_IREGION (0xFF << MPU_TYPE_IREGION_LSB) |