User's Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 339 of 1852
Nov 30, 2020
RX23W Group 17. Memory-Protection Unit (MPU)
17.2.12 Data-Hit Region Register (MHITD)
UHACD[2:0] Bit
s (
Data-Hit Region Access Control Bits in User Mode
)
These bits hold the user-mode access control bits (REPAGEn.UAC[2:0]) that have been set for the region where a data
memory-protection error was generated or the region that produced a hit in region searching.
When an error is generated in an overlap between regions or a hit was generated in region searching, the value stored
here is the logical OR of the user-mode access control bits for the corresponding regions (including the background
region).
Address(es): 0008 652Ch
b31 b30 b29 b28 b27 b26 b25 b24 b23 b22 b21 b20 b19 b18 b17 b16
———————— HITD[7:0]
Value after reset
0000000000000000
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
———————————— UHACD[2:0]
Value after reset
0000000000000000
Bit Symbol Bit Name Description R/W
b0
Reserved
The read value is 0. The write value should always be 0. R/W
b3 to b1 UHACD[2:0]
Data-Hit Region
Access Control
Bits in User
Mode
b3
0: Reading prohibited
1: Reading permitted
b2
0: Writing prohibited
1: Writing permitted
b1
0: Execution prohibited
1: Execution permitted
R
b15 to b4
Reserved
The read value is 0. The write value should always be 0. R/W
b23 to b16 HITD[7:0]
Data-Hit Region
When the data memory-protection error generation bit (MPESTS.DMPER) = 1, [b23:b16] =
0000 0000b indicates that attempted access to the background region led to a data
memory-protection error.
Other than above
b23
0: Neither a data memory-protection error nor a search hit was generated in region 7.
1: A data memory-protection error or search hit was generated in region 7.
b22
0: Neither a data memory-protection error nor a search hit was generated in region 6.
1: A data memory-protection error or search hit was generated in region 6.
b21
0: Neither a data memory-protection error nor a search hit was generated in region 5.
1: A data memory-protection error or search hit was generated in region 5.
b20
0: Neither a data memory-protection error nor a search hit was generated in region 4.
1: A data memory-protection error or search hit was generated in region 4.
b19
0: Neither a data memory-protection error nor a search hit was generated in region 3.
1: A data memory-protection error or search hit was generated in region 3.
b18
0: Neither a data memory-protection error nor a search hit was generated in region 2.
1: A data memory-protection error or search hit was generated in region 2.
b17
0: Neither a data memory-protection error nor a search hit was generated in region 1.
1: A data memory-protection error or search hit was generated in region 1.
b16
0: Neither a data memory-protection error nor a search hit was generated in region 0.
1: A data memory-protection error or search hit was generated in region 0.
R
b31 to b24
Reserved
The read value is 0. The write value should always be 0. R/W