CMSIS-Zone  Version 1.2.0-alpha
System Resource Management
 All Files Pages
mpu_setup element

The mpu_setup element contains the configuration information for the Memory Protection Unit (MPU).

Parent Element Element Chain
zone zone element
Child Elements Description Type
mpu_setup.type Implementation of the MPU ("v7M" or "v8M"). xs:string
mpu_setup.region[n] Sequence of MPU region settings. sequence
mpu_setup.region[n].start The base address of the region. xs:string
mpu_setup.region[n].end The end address of the region. xs:string
mpu_setup.region[n].access.r The read access permission setting for the region. xs:boolean
mpu_setup.region[n].access.w The write access permission setting for the region. xs:boolean
mpu_setup.region[n].access.x The execution access permission setting for the region. xs:boolean
mpu_setup.region[n].access.p The peripheral access information setting for the region. xs:boolean
mpu_setup.region[n].privileged '1' indicates that the region is set to Privileged mode. xs:boolean
mpu_setup.region[n].shared '1' indicates that the region is shared across various processors. xs:boolean
mpu_setup.region[n].dma '1' indicates that the region is accessed by a DMA controller. xs:boolean
mpu_setup.region[n].rom '1' indicates that the memory type of that region is ROM ('0' for RAM or peripheral). xs:boolean
mpu_setup.region[n].addr_v7M Only for v7M: Region base address field value for v7M register MPU_RBAR. xs:string
mpu_setup.region[n].size_v7M Only for v7M: Block size field value for v7M register MPU_RASR (examples: 4=32bytes, 9=1KB, 19=1MB). xs:string
mpu_setup.region[n].srd_v7M Only for v7M: Subregion disable value for v7M register MPU_RASR.

xs:string