Memory Protection Unit (MPU)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
31
31
30
29
…
7
6
5
4
3
2
1
0
BASE
SH
AP[2:1]
XN
R/W
R/W
R/W
R/W
Bit
Name
Access
Description
31:5
BASE
R/W
Base address. Contains bit[31:5] of the lower inclusive limit of the selected MPU memory region.
This value is zero-extended to provide the base address to be checked against.
This field resets to an unknown value on a Warm reset.
4:3
SH
R/W
Shareability. Defines the shareable domain of this region for normal memory.
00: Non-shareable
10: Outer Shareable
11: Inner Shareable
Others: Reserved
For any type of device memory, the value of this field is ignored.
This field resets to an unknown value on a Warm reset.
2:1
AP[2:1]
R/W
Access permissions. Defines the access permissions for this region.
00: Read/write by privileged code only.
01: Read/write by any privileged level.
10: Read-only by privileged code only.
11: Read-only by any privileged level.
This field resets to an unknown value on a Warm reset.
0
XN
R/W
Execute never. Defines whether the code can be executed from this region.
0: Execution is only permitted if read permitted.
1: Execution is not permitted.
This bit resets to an unknown value on a Warm reset.
3.2.5
MPU_RLAR
The MPU_RLAR characteristics are:
Purpose
: Provides indirect read and write access to the limit address of the currently selected MPU region for the selected security state.
Usage constraints
:
Privileged access is permitted only. Unprivileged access generates a BusFault.
This register is word accessible only. Half-word and byte accesses are unpredictable.
Configurations
: This register is always implemented.
Attributes
:
32-bit read/write register located at 0xE000_EDA0.
Secure software can access the Non-Secure view of this register via MPU_RLAR_NS located at 0xE002_EDA0. The location
0xE002_EDA0 is reserved to software executing in Non-Secure state and the debugger.
This register is banked between Security states.
Preface
: This register provides access to the configuration of the MPU region selected by MPU_RNR.REGION for the appropriate security
state. The field description applies to the currently selected region.
31
30
29
…
7
6
5
4
3
2
1
0
LIMIT
RSVD
AttrIndx
EN
R/W
R/W
R/W
Bit
Name
Access
Description
31:5
LIMIT
R/W
Limit address. Contains bit[31:5] of the upper inclusive limit of the selected MPU memory region.
This value is post-fixed with 0x1F to provide the limit address to be checked against.
This field resets to an unknown value on a Warm reset.
4
RSVD
N/A
Reserved
3:1
AttrIndx
R/W
Attribute index. Associates a set of attributes in the MPU_MAIR0 and MPU_MAIR1 register.
This field resets to an unknown value on a Warm reset.
0
EN
R/W
Enable. Region enable.
0: Region is disabled.
1: Region is enabled.
This bit resets to 0 on a Warm reset.
Realtek confidential files
The document authorized to
SZ99iot