MPU Registers
172
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Cortex-M4 Peripherals
2.6.3 MPUNUMBER Register (Offset = 0xD98) [reset = 0x0]
MPU Region Number (MPUNUMBER), offset 0xD98
NOTE:
This register can only be accessed from privileged mode.
The MPUNUMBER register selects which memory region is referenced by the MPU Region Base Address
(MPUBASE) and MPU Region Attribute and Size (MPUATTR) registers. Normally, the required region
number should be written to this register before accessing the MPUBASE or the MPUATTR register.
However, the region number can be changed by writing to the MPUBASE register with the VALID bit set
(see
). This write updates the value of the REGION field.
MPUNUMBER is shown in
and described in
Return to
Figure 2-30. MPUNUMBER Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RESERVED
R-0x0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RESERVED
NUMBER
R-0x0
R/W-0x0
Table 2-45. MPUNUMBER Register Field Descriptions
Bit
Field
Type
Reset
Description
31-3
RESERVED
R
0x0
2-0
NUMBER
R/W
0x0
MPU Region to Access
This field indicates the MPU region referenced by the MPUBASE
and MPUATTR registers.
The MPU supports eight memory regions.