rp2040_pac::ppb

Module mpu_rbar

source
Expand description

Read the MPU Region Base Address Register to determine the base address of the region identified by MPU_RNR. Write to update the base address of said region or that of a specified region, with whose number MPU_RNR will also be updated.

Structs§

  • Read the MPU Region Base Address Register to determine the base address of the region identified by MPU_RNR. Write to update the base address of said region or that of a specified region, with whose number MPU_RNR will also be updated.

Type Aliases§

  • Field ADDR reader - Base address of the region.
  • Field ADDR writer - Base address of the region.
  • Register MPU_RBAR reader
  • Field REGION reader - On writes, specifies the number of the region whose base address to update provided VALID is set written as 1. On reads, returns bits [3:0] of MPU_RNR.
  • Field REGION writer - On writes, specifies the number of the region whose base address to update provided VALID is set written as 1. On reads, returns bits [3:0] of MPU_RNR.
  • Field VALID reader - On writes, indicates whether the write must update the base address of the region identified by the REGION field, updating the MPU_RNR to indicate this new region.
    Write:
    0 = MPU_RNR not changed, and the processor:
    Updates the base address for the region specified in the MPU_RNR.
    Ignores the value of the REGION field.
    1 = The processor:
    Updates the value of the MPU_RNR to the value of the REGION field.
    Updates the base address for the region specified in the REGION field.
    Always reads as zero.
  • Field VALID writer - On writes, indicates whether the write must update the base address of the region identified by the REGION field, updating the MPU_RNR to indicate this new region.
    Write:
    0 = MPU_RNR not changed, and the processor:
    Updates the base address for the region specified in the MPU_RNR.
    Ignores the value of the REGION field.
    1 = The processor:
    Updates the value of the MPU_RNR to the value of the REGION field.
    Updates the base address for the region specified in the REGION field.
    Always reads as zero.
  • Register MPU_RBAR writer