Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
32
3.2.6
MPU_RBAR_A<
n
>
The MPU_RBAR_A<
n
> (
n
= {1, 2, 3}) characteristics are:
Purpose
: Provides indirect read and write access to the base address of the MPU region selected by MPU_RNR[7:2]:(n[1:0]) 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
:
Present only if the Main Extension is implemented.
Reserved if the Main Extension is not implemented.
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_RBAR_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_RBAR 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
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.
The possible values of this bit are:
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.7
MPU_RLAR_A<
n
>
The MPU_RLAR_A<
n
> (
n
= {1, 2, 3}) characteristics are:
Purpose
: Provides indirect read and write access to the limit address of the currently selected MPU region selected by
MPU_RNR[7:2]:(n[1:0]) 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
:
Present only if the Main Extension is implemented.
Reserved if the Main Extension is not implemented.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03