
229
SAM4CP [DATASHEET]
43051E–ATPL–08/14
12.11.2.3 MPU Region Number Register
Name:
MPU_RNR
Access:
Read/Write
The MPU_RNR selects which memory region is referenced by the MPU_RBAR and MPU_RASRs.
REGION: MPU Region Referenced by the MPU_RBAR and MPU_RASRs
Indicates the MPU region referenced by the MPU_RBAR and MPU_RASR registers.
The MPU supports 8 memory regions, so the permitted values of this field are 0-7.
Normally, the required region number is written to this register before accessing the MPU_RBAR or MPU_RASR. However, the
region number can be changed by writing to the MPU_RBAR with the VALID bit set to 1; see
“MPU Region Base Address Regis-
ter”
. This write updates the value of the REGION field.
31
30
29
28
27
26
25
24
–
23
22
21
20
19
18
17
16
–
15
14
13
12
11
10
9
8
–
7
6
5
4
3
2
1
0
REGION