
MPU Registers
Table 6-7. MPUSAM Register Description (continued)
Bit
Field
Type
Reset
Description
6
MPUSEG2XE
RW
1h
MPU main memory segment 2 execute enable. If set this bit enables execution in
main memory segment 2.
0b = Execution in main memory segment 2 causes a violation
1b = Execution in main memory segment 2 is allowed
5
MPUSEG2WE
RW
1h
MPU main memory segment 2 write enable. If set this bit enables write access of
main memory segment 2.
0b = Writes to main memory segment 2 cause a violation
1b = Writes to main memory segment 2 are allowed
4
MPUSEG2RE
RW
1h
MPU main memory segment 2 read enable. If set this bit enables read access of
main memory segment 2.
0b = Reads of main memory segment 2 cause a violation if MPUSEG2WE =
MPUSEG2XE = 0
1b = Reads of main memory segment 3 are allowed
3
MPUSEG1VS
RW
0h
MPU main memory segment 1 violation select. If set, a PUC must be executed
on illegal access to main memory segment 1.
0b = Violation in main memory segment 1 asserts the MPUSEG1IFG bit.
1b = Violation in main memory segment 1 asserts the MPUSEG1IFG bit and a
PUC is executed.
2
MPUSEG1XE
RW
1h
MPU main memory segment 1 execute enable. If set this bit enables execution in
main memory segment 1.
0b = Execution in main memory segment 1 causes a violation
1b = Execution in main memory segment 1 is allowed
1
MPUSEG1WE
RW
1h
MPU main memory segment 1 write enable. If set this bit enables write access of
main memory segment 1.
0b = Writes to main memory segment 1 cause a violation
1b = Writes to main memory segment 1 are allowed
0
MPUSEG1RE
RW
1h
MPU main memory segment 1 read enable. If set this bit enables read access of
main memory segment 1.
0b = Reads of main memory segment 1 cause a violation if MPUSEG1WE =
MPUSEG1XE = 0
1b = Reads of main memory segment 1 are allowed
262
Memory Protection Unit (MPU)
SLAU272C – May 2011 – Revised November 2013
Copyright © 2011–2013, Texas Instruments Incorporated