MPU_CTRL
Bit Field |
Read/Write |
Field Name |
Description |
---|---|---|---|
2 |
RW |
PRIVDEFENA |
Privileged default enable |
1 |
RW |
HFNMIENA |
Hard fault and NMI enable |
0 |
RW |
ENABLE |
Enable the MPU |
Bit Field |
Field Name |
Value Symbol |
Value Description |
Hex Value |
---|---|---|---|---|
2 |
PRIVDEFENA |
DEFAULT_MEM_MAP_DISABLED |
Disables use of the default memory map. Any memory access to a location that is not covered by any enabled region causes a fault |
0x0* |
|
|
DEFAULT_MEM_MAP_ENABLED |
Enables use of the default memory map as a background region for privileged software accesses |
0x1 |
1 |
HFNMIENA |
MPU_DISABLED_FOR_HF_NMI |
MPU is disabled during HardFault and NMI handlers, regardless of the value of the ENABLE bit |
0x0* |
|
|
MPU_ENABLED_FOR_HF_NMI |
The MPU is enabled during HardFault and NMI handlers |
0x1 |
0 |
ENABLE |
MPU_DISABLED |
MPU is disabled |
0x0* |
|
|
MPU_ENABLED |
MPU is enabled |
0x1 |