MPU Registers
322
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Memory Protection Unit (MPU)
9.7.1 MPUCTL0 Register
Memory Protection Unit Control 0 Register
Figure 9-7. MPUCTL0 Register
15
14
13
12
11
10
9
8
MPUPW
rw-1
rw-0
rw-0
rw-1
rw-0
rw-1
rw-1
rw-0
7
6
5
4
3
2
1
0
Reserved
MPUSEGIE
Reserved
MPULOCK
MPUENA
r-0
r-0
r-0
rw-[0]
r-0
r-0
rw-[0]
rw-[0]
Table 9-9. MPUCTL0 Register Description
Bit
Field
Type
Reset
Description
15-8
MPUPW
RW
96h
MPU Password. Always reads as 096h. Must be written as 0A5h; writing any
other value with a word write generates a PUC. After a correct password is
written and MPU register access is enabled, a wrong password write in byte
mode disables the access and no PUC is generated. This behavior is
independent from MPULOCK bit settings.
7-5
Reserved
R
0h
Reserved. Always read 0.
4
MPUSEGIE
RW
0h
Enable NMI Event if a Segment violation is detected in any Segment.
0b = Segment violation interrupt disabled
1b = Segment violation interrupt enabled
3-2
Reserved
R
0h
Reserved. Always read 0.
1
MPULOCK
RW
0h
MPU Lock. If this bit is set, access to all MPU Registers except MPUCTL1,
MPUIPC0, and MPUIPSEGx are locked and they are read only until a BOR
occurs. BOR sets MPULOCK to 0.
0b = Open
1b = Locked
0
MPUENA
RW
0h
MPU Enable. This bit enables the MPU operation. The enable bit can be set any
time with word write and a correct password, if MPULOCK is not set
0b = Disabled
1b = Enabled