
MPU Registers
6.5.4 MPUSAM Register
Memory Protection Unit Segmentation Access Management Register
Figure 6-6. 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 6-7. MPUSAM Register Description
Bit
Field
Type
Reset
Description
15
MPUSEGIVS
RW
0h
MPU user information memory segment violation select. If set, a PUC must be
executed on illegal access to user information memory.
0b = Violation in user information memory asserts the MPUSEGIIFG bit.
1b = Violation in user information memory asserts the MPUSEGIIFG bit and a
PUC is executed.
14
MPUSEGIXE
RW
1h
MPU user information memory segment execute enable. if set, this bit enables
execution in user information memory.
0b = Execution in user information memory causes a violation
1b = Execution in user information memory is allowed
13
MPUSEGIWE
RW
1h
MPU user information memory segment write enable. If set, this bit enables write
access of user information memory.
0b = Writes to user information memory cause a violation
1b = Writes to user information memory are allowed
12
MPUSEGIRE
RW
1h
MPU user information memory segment read enable. If set, this bit enables read
access of user information memory.
0b = Reads of user information memory causes a violation if MPUSEGIWE =
MPUSEGIXE = 0
1b = Reads of user information memory is allowed
11
MPUSEG3VS
RW
0h
MPU main memory segment 3 violation select. If set, a PUC must be executed
on illegal access to main memory segment 3.
0b = Violation in main memory segment 3 asserts the MPUSEG3IFG bit.
1b = Violation in main memory segment 3 asserts the MPUSEG3IFG bit and a
PUC is executed.
10
MPUSEG3XE
RW
1h
MPU main memory segment 3 execute enable. If set this bit enables execution in
main memory segment 3.
0b = Execution in main memory segment 3 causes a violation
1b = Execution in main memory segment 3 is allowed
9
MPUSEG3WE
RW
1h
MPU main memory segment 3 write enable. If set this bit enables write access of
main memory segment 3.
0b = Writes to main memory segment 3 cause a violation
1b = Writes to main memory segment 3 are allowed
8
MPUSEG3RE
RW
1h
MPU main memory segment 3 read enable. If set this bit enables read access of
main memory segment 3.
0b = Reads of main memory segment 3 cause a violation if MPUSEG3WE =
MPUSEG3XE = 0
1b = Reads of main memory segment 3 are allowed
7
MPUSEG2VS
RW
0h
MPU main memory segment 2 violation Select. If set, a PUC must be executed
on illegal access to main memory segment 2.
0b = Violation in main memory segment 2 asserts the MPUSEG2IFG bit.
1b = Violation in main memory segment 2 asserts the MPUSEG2IFG bit and a
PUC is executed.
261
SLAU272C – May 2011 – Revised November 2013
Memory Protection Unit (MPU)
Copyright © 2011–2013, Texas Instruments Incorporated