Memory Protection Unit (MPU)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
33
Attributes
:
32-bit read/write register located at 0xE00 8(
n
-1).
Secure software can access the Non-Secure view of this register via MPU_RLAR_A<
n
>_NS located at 0xE00 8(
n
-1). The
location 0xE00 8(
n
-1) is reserved to software executing in Non-Secure state and the debugger.
This register is banked between Security states.
Preface
: This register is an alias of the MPU_RLAR register and provides access to the configuration of the MPU region selected by
MPU_RNR.REGION, while REGION[1:0] has been set to n[1:0].
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.
3.2.8
MPU_MAIR0
The MPU_MAIR0 characteristics are:
Purpose
: Along with MPU_MAIR1, provides the memory attribute encoding corresponding to the AttrIndx values.
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_EDC0.
Secure software can access the Non-Secure view of this register via MPU_MAIR0_NS located at 0xE002_EDC0. The location
0xE002_EDC0 is reserved to software executing in Non-Secure state and the debugger.
This register is banked between Security states.
Preface
: This register is reserved if no MPU regions are implemented in the corresponding security state.
31
30
29
28
27
26
25
24
ATTR3
R/W
23
22
21
20
19
18
17
16
ATTR2
R/W
15
14
13
12
11
10
9
8
ATTR1
R/W
7
6
5
4
3
2
1
0
ATTR0
R/W
Bit
Name
Access
Description
31:24
ATTR3
R/W
Memory attributes encoding for MPU regions with an AttrIndx of 3.
For the possible values of this field, refer to MAIR_ATTR for encoding.
This field resets to an unknown value on a Warm reset.
23:16
ATTR2
R/W
Memory attributes encoding for MPU regions with an AttrIndx of 2.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03