NMSIS-Core  Version 1.4.0
NMSIS-Core support for Nuclei processor-based devices
pma_config Struct Reference

Data Fields

unsigned long region_base
 Base physical address, which needs to be 4K byte aligned. More...
 
unsigned long region_size
 Region size, which needs to be 4K byte aligned; the region_base should be integer multiples of region_size. More...
 
uint16_t region_type
 Type could be PMA_REGION_TYPE_SECSHARE, PMA_REGION_TYPE_NC, PMA_REGION_TYPE_DEV, PMA_REGION_TYPE_CA PMA_REGION_TYPE_SECSHARE could be combined with one of PMA_REGION_TYPE_NC PMA_REGION_TYPE_DEV PMA_REGION_TYPE_CA such as PMA_REGION_TYPE_SECSHARE | PMA_REGION_TYPE_NC Reserved for sattri(n)_base. More...
 
uint16_t region_enable
 Enable or disable the region, could be PMA_REGION_ENA, PMA_REGION_DIS. More...
 

Detailed Description

Definition at line 60 of file core_feature_pma.h.

Field Documentation

◆ region_base

unsigned long pma_config::region_base

Base physical address, which needs to be 4K byte aligned.

Definition at line 64 of file core_feature_pma.h.

Referenced by PMA_GetRegion(), PMA_GetRegion_S(), PMA_SetRegion(), and PMA_SetRegion_S().

◆ region_enable

uint16_t pma_config::region_enable

Enable or disable the region, could be PMA_REGION_ENA, PMA_REGION_DIS.

Definition at line 79 of file core_feature_pma.h.

Referenced by PMA_GetRegion(), PMA_GetRegion_S(), PMA_SetRegion(), and PMA_SetRegion_S().

◆ region_size

unsigned long pma_config::region_size

Region size, which needs to be 4K byte aligned; the region_base should be integer multiples of region_size.

Definition at line 68 of file core_feature_pma.h.

Referenced by PMA_GetRegion(), PMA_GetRegion_S(), PMA_SetRegion(), and PMA_SetRegion_S().

◆ region_type

uint16_t pma_config::region_type