ATSAML22G17A MPU registers

The 5 registers of MPU (Memory Protection Unit), from 0xE000ED90, with their reset value and every field. The ATSAML22G17A has 1065 registers in 38 peripherals, one page each.

MPU Memory Protection Unit

TYPEMPU Type Register

Address
0xE000ED90
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
IREGION23:16Number of Instruction Regions
DREGION15:8Number of Data Regions
SEPARATE0Separate instruction and Data Memory MapsRegions

CTRLMPU Control Register

Address
0xE000ED94
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
PRIVDEFENA2Enables privileged software access to default memory map
HFNMIENA1Enable Hard Fault and NMI handlers
ENABLE0MPU Enable

RNRMPU Region Number Register

Address
0xE000ED98
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
REGION7:0Region referenced by RBAR and RASR

RBARMPU Region Base Address Register

Address
0xE000ED9C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
VALID4Region number valid
REGION3:0Region number
ADDR31:5Region base address

RASRMPU Region Attribute and Size Register

Address
0xE000EDA0
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
FieldBitsWhat it does
XN28Execute Never Attribute
AP26:24Access Permission
TEX21:19TEX bit
S18Shareable bit
C17Cacheable bit
B16Bufferable bit
SRD15:8Sub-region disable
SIZE5:1Region Size
ENABLE0Region Enable