![ARM Cortex-M4 Generic User Manual Download Page 258](http://html.mh-extra.com/html/arm/cortex-m4/cortex-m4_generic-user-manual_2973228258.webp)
Cortex-M4 Peripherals
ARM DUI 0553A
Copyright © 2010 ARM. All rights reserved.
4-42
ID121610
Non-Confidential
The bit assignments are:
For information about access permission, see
MPU access permission attributes
.
SIZE field values
The SIZE field defines the size of the MPU memory region specified by the RNR. as follows:
(Region size in bytes) = 2
(SIZE+1)
XN
Reserved
31
29 28 27 26
24 23 22 21
19 18 17 16 15
8 7 6 5
1 0
AP
TEX
S C B
SRD
SIZE
ENABLE
Reserved
Reserved
Reserved
Table 4-43 MPU_RASR bit assignments
Bits
Name
Function
[31:29]
-
Reserved.
[28]
XN
Instruction access disable bit:
0 = instruction fetches enabled
1 = instruction fetches disabled.
[27]
-
Reserved.
[26:24]
AP
Access permission field, see
[23:22]
-
Reserved.
[21:19, 17, 16]
TEX, C, B
Memory access attributes, see
[18]
S
Shareable bit, see
[15:8]
SRD
Subregion disable bits. For each bit in this field:
0 = corresponding sub-region is enabled
1 = corresponding sub-region is disabled
See
for more information.
Region sizes of 128 bytes and less do not support subregions. When writing the attributes
for such a region, write the SRD field as
0x00
.
[7:6]
-
Reserved.
[5:1]
SIZE
Specifies the size of the MPU protection region. The minimum permitted value is 3
(
0b00010
for more information.
[0]
ENABLE
Region enable bit.