AM263Px MCU+ SDK: MpuP_RegionAttrs Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
MpuP_RegionAttrs Struct Reference
APIs for Driver Porting Layer » APIs for MPU for ARMv7 (ARM R5, ARM M4)

## Detailed Description

Attribute's to apply for a MPU region.

Note
  Refer to ARMv7-R or ARMv7-M architecture manual for more details
  C, B, S, TEX[0:2] bits together control if a region should be fully cached or non-cached or marked as device memory

## Data Fields
uint8_t | isEnable
uint8_t | isCacheable
uint8_t | isBufferable
uint8_t | isSharable
uint8_t | isExecuteNever
uint8_t | tex
uint8_t | accessPerm
uint8_t | subregionDisableMask

## Field Documentation

## ◆ isEnable

uint8_t MpuP_RegionAttrs::isEnable

1: enable this region, 0: disable this region

## ◆ isCacheable

uint8_t MpuP_RegionAttrs::isCacheable

1: set C bit, 0: clear C bit

## ◆ isBufferable

uint8_t MpuP_RegionAttrs::isBufferable

1: set B bit, 0: clear B bit

## ◆ isSharable

uint8_t MpuP_RegionAttrs::isSharable

1: set S bit, 0: clear S bit

## ◆ isExecuteNever

uint8_t MpuP_RegionAttrs::isExecuteNever

1: set XN bit, 0: clear XN bit

## ◆ tex

uint8_t MpuP_RegionAttrs::tex

set TEX[0:2] bits

## ◆ accessPerm

uint8_t MpuP_RegionAttrs::accessPerm

set AP[0:2] bits, see MpuP_AccessPerm

## ◆ subregionDisableMask

uint8_t MpuP_RegionAttrs::subregionDisableMask

subregion disable mask, bitN = 1 means disable that subregion