MPU Registers
326
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Memory Protection Unit (MPU)
9.7.5 MPUSAM Register
Memory Protection Unit Segmentation Access Management Register
Figure 9-11. MPUSAM Register
15
14
13
12
11
10
9
8
MPUSEGIVS
MPUSEGIXE
MPUSEGIWE
MPUSEGIRE
MPUSEG3VS
MPUSEG3XE
MPUSEG3WE
MPUSEG3RE
rw-[0]
rw-[1]
rw-[1]
rw-[1]
rw-[0]
rw-[1]
rw-[1]
rw-[1]
7
6
5
4
3
2
1
0
MPUSEG2VS
MPUSEG2XE
MPUSEG2WE
MPUSEG2RE
MPUSEG1VS
MPUSEG1XE
MPUSEG1WE
MPUSEG1RE
rw-[0]
rw-[1]
rw-[1]
rw-[1]
rw-[0]
rw-[1]
rw-[1]
rw-[1]
Table 9-13. MPUSAM Register Description
Bit
Field
Type
Reset
Description
15
MPUSEGIVS
RW
0h
MPU User Information Memory Segment Violation Select. This bit selects if
additional to the interrupt flag a PUC must be executed on illegal access to User
Information Memory
0b = Violation in User Information Memory asserts the MPUSEGIIFG bit and
executes a SNMI if enabled by MPUSEGIE =1
1b = Violation in User Information Memory asserts the MPUSEGIIFG bit and
executes a PUC
14
MPUSEGIXE
RW
1h
MPU User Information Memory Segment Execute Enable. If set, this bit enables
execution on User Information Memory
0b = Execute code on User Information Memory causes a violation
1b = Execute code on User Information Memory is allowed
13
MPUSEGIWE
RW
1h
MPU User Information Memory Segment Write Enable. If set, this bit enables
write access on User Information Memory
0b = Write on User Information Memory causes a violation
1b = Write on User Information Memory is allowed
12
MPUSEGIRE
RW
1h
MPU User Information Memory Segment Read Enable. If set, this bit enables
read access on User Information Memory
0b = Read on User Information Memory causes a violation if
MPUSEGIWE=MPUSEGIXE=0
1b = Read on User Information Memory is allowed
11
MPUSEG3VS
RW
0h
MPU Main Memory Segment 3 Violation Select. This bit selects if additional to
the interrupt flag a PUC must be executed on illegal access to Main Memory
segment 3
0b = Violation in Main Memory Segment 3 asserts the MPUSEG3IFG bit and
executes a SNMI if enabled by MPUSEGIE =1
1b = Violation in Main Memory Segment 3 asserts the MPUSEG3IFG bit and
executes a PUC
10
MPUSEG3XE
RW
1h
MPU Main Memory Segment 3 Execute Enable. If set this bit enables execution
on Main Memory segment 3
0b = Execute code on Main Memory Segment 3 causes a violation
1b = Execute code on Main Memory Segment 3 is allowed
9
MPUSEG3WE
RW
1h
MPU Main Memory Segment 3 Write Enable. If set this bit enables write access
on Main Memory segment 3
0b = Write on Main Memory Segment 3 causes a violation
1b = Write on Main Memory Segment 3 is allowed
8
MPUSEG3RE
RW
1h
MPU Main Memory Segment 3 Read Enable. If set this bit enables read access
on Main Memory segment 3
0b = Read on Main Memory Segment 3 causes a violation if MPUSEG3WE =
MPUSEG3XE = 0
1b = Read on Main Memory Segment 3 is allowed