# Memory Protection Unit

Address | Register Name | Register Write | Register Read | Default | Description
--- | --- | --- | --- | --- | ---
0xE000ED90 | MPU_TYPE | - | (15:8) NBR_OF_REGION | 0x4 | Number of regions
0xE000ED94 | MPU_CTRL | (2) PRIVDEFENA | (2) PRIVDEFENA | 0x0 | Privileged default enable
|  | (1) HFNMIENA | (1) HFNMIENA | 0x0 | Hard fault and NMI enable
|  | (0) ENABLE | (0) ENABLE | 0x0 | Enable the MPU
0xE000ED98 | MPU_RNR | - | (7:0) REGION | 0x0 | Region number
0xE000ED9C | MPU_RBAR | (31:5) BASE | (31:5) BASE | 0x0 | Base address
|  | (4:3) SH | (4:3) SH | 0x0 | Shareability
|  | (2:1) AP | (2:1) AP | 0x0 | Access permissions
|  | (0) XN | (0) XN | 0x0 | Execute never
0xE000EDA0 | MPU_RLAR | (31:5) LIMIT | (31:5) LIMIT | 0x0 | Limit address
|  | (3:1) ATTRINDX | (3:1) ATTRINDX | 0x0 | Attribute index
|  | (0) EN | (0) EN | 0x0 | Region enable
0xE000EDA4 | MPU_RBAR1 | (31:5) BASE | (31:5) BASE | 0x0 | Base address
|  | (4:3) SH | (4:3) SH | 0x0 | Shareability
|  | (2:1) AP | (2:1) AP | 0x0 | Access permissions
|  | (0) XN | (0) XN | 0x0 | Execute never
0xE000EDA8 | MPU_RLAR1 | (31:5) LIMIT | (31:5) LIMIT | 0x0 | Limit address
|  | (3:1) ATTRINDX | (3:1) ATTRINDX | 0x0 | Attribute index
|  | (0) EN | (0) EN | 0x0 | Region enable
0xE000EDAC | MPU_RBAR2 | (31:5) BASE | (31:5) BASE | 0x0 | Base address
|  | (4:3) SH | (4:3) SH | 0x0 | Shareability
|  | (2:1) AP | (2:1) AP | 0x0 | Access permissions
|  | (0) XN | (0) XN | 0x0 | Execute never
0xE000EDB0 | MPU_RLAR2 | (31:5) LIMIT | (31:5) LIMIT | 0x0 | Limit address
|  | (3:1) ATTRINDX | (3:1) ATTRINDX | 0x0 | Attribute index
|  | (0) EN | (0) EN | 0x0 | Region enable
0xE000EDB4 | MPU_RBAR3 | (31:5) BASE | (31:5) BASE | 0x0 | Base address
|  | (4:3) SH | (4:3) SH | 0x0 | Shareability
|  | (2:1) AP | (2:1) AP | 0x0 | Access permissions
|  | (0) XN | (0) XN | 0x0 | Execute never
0xE000EDB8 | MPU_RLAR3 | (31:5) LIMIT | (31:5) LIMIT | 0x0 | Limit address
|  | (3:1) ATTRINDX | (3:1) ATTRINDX | 0x0 | Attribute index
|  | (0) EN | (0) EN | 0x0 | Region enable
0xE000EDC0 | MPU_MAIR0 | (31:24) REGION3 | (31:24) REGION3 | 0x0 | Memory attribute encoding for MPU regions 3
|  | (23:16) REGION2 | (23:16) REGION2 | 0x0 | Memory attribute encoding for MPU regions 2
|  | (15:8) REGION1 | (15:8) REGION1 | 0x0 | Memory attribute encoding for MPU regions 1
|  | (7:0) REGION0 | (7:0) REGION0 | 0x0 | Memory attribute encoding for MPU regions 0