CMSIS-Core (Cortex-M): ARM_MPU_Region_t Struct Reference

| CMSIS-Core (Cortex-M) Version 5.1.2 CMSIS-Core support for Cortex-M processor-based devices

- Main Page
- Usage and Description
- Reference

- Data Structures
- Data Fields

All Data Structures Files Functions Variables Enumerations Enumerator Groups Pages
Data Fields
ARM_MPU_Region_t Struct Reference
MPU Functions for Armv7-M

Setup information of a single MPU Region. More...

## Data Fields
uint32_t | RBAR
| The region base address register value (RBAR) More...
uint32_t | RASR
| The region attribute and size register value (RASR), see ARM_MPU_RASR. More...

## Description

The typedef ARM_MPU_Region_t allows to define a MPU table (array of MPU regions) with pre-compiled register values. Such tables enable efficient MPU setup using the function ARM_MPU_Load.

Example: See ARM_MPU_Load

## Field Documentation

ARM_MPU_Region_t::RASR

This value specifies region attributes and size. Use the ARM_MPU_RASR macro to compose this value.

ARM_MPU_Region_t::RBAR

This value specifies the start address of the MPU protected memory region. The address must be a multiple of the region size (size aligned).

See MPU_Type::RBAR for details about field bit format.