Module rp2040_pac::ppb::mpu_rasr

source ·
Expand description

Use the MPU Region Attribute and Size Register to define the size, access behaviour and memory type of the region identified by MPU_RNR, and enable that region.

Structs§

  • Use the MPU Region Attribute and Size Register to define the size, access behaviour and memory type of the region identified by MPU_RNR, and enable that region.

Type Aliases§

  • Field ATTRS reader - The MPU Region Attribute field. Use to define the region attribute control.
    28 = XN: Instruction access disable bit:
    0 = Instruction fetches enabled.
    1 = Instruction fetches disabled.
    26:24 = AP: Access permission field
    18 = S: Shareable bit
    17 = C: Cacheable bit
    16 = B: Bufferable bit
  • Field ATTRS writer - The MPU Region Attribute field. Use to define the region attribute control.
    28 = XN: Instruction access disable bit:
    0 = Instruction fetches enabled.
    1 = Instruction fetches disabled.
    26:24 = AP: Access permission field
    18 = S: Shareable bit
    17 = C: Cacheable bit
    16 = B: Bufferable bit
  • Field ENABLE reader - Enables the region.
  • Field ENABLE writer - Enables the region.
  • Register MPU_RASR reader
  • Field SIZE reader - Indicates the region size. Region size in bytes = 2^(SIZE+1). The minimum permitted value is 7 (b00111) = 256Bytes
  • Field SIZE writer - Indicates the region size. Region size in bytes = 2^(SIZE+1). The minimum permitted value is 7 (b00111) = 256Bytes
  • Field SRD reader - Subregion Disable. For regions of 256 bytes or larger, each bit of this field controls whether one of the eight equal subregions is enabled.
  • Field SRD writer - Subregion Disable. For regions of 256 bytes or larger, each bit of this field controls whether one of the eight equal subregions is enabled.
  • Register MPU_RASR writer