|
AM263Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
55 typedef enum MpuP_AccessPerm_
68 typedef enum MpuP_RegionSize_ {
107 typedef struct MpuP_RegionAttrs_ {
122 typedef struct MpuP_RegionConfig_ {
133 typedef struct MpuP_Config_ {
@ MpuP_RegionSize_2M
Definition: MpuP_armv7.h:85
uint8_t tex
Definition: MpuP_armv7.h:114
void MpuP_RegionAttrs_init(MpuP_RegionAttrs *region)
Set default values to MpuP_RegionAttrs.
uint32_t size
Definition: MpuP_armv7.h:125
@ MpuP_RegionSize_8K
Definition: MpuP_armv7.h:77
uint32_t enableMpu
Definition: MpuP_armv7.h:137
@ MpuP_RegionSize_4G
Definition: MpuP_armv7.h:96
@ MpuP_RegionSize_32
Definition: MpuP_armv7.h:69
uint8_t subregionDisableMask
Definition: MpuP_armv7.h:116
@ MpuP_RegionSize_512
Definition: MpuP_armv7.h:73
@ MpuP_RegionSize_256K
Definition: MpuP_armv7.h:82
@ MpuP_RegionSize_64
Definition: MpuP_armv7.h:70
@ MpuP_RegionSize_16M
Definition: MpuP_armv7.h:88
uint8_t isCacheable
Definition: MpuP_armv7.h:110
@ MpuP_AP_ALL_R
Definition: MpuP_armv7.h:62
uint8_t isExecuteNever
Definition: MpuP_armv7.h:113
void MpuP_disable(void)
Disable MPU sub-system.
uint8_t isSharable
Definition: MpuP_armv7.h:112
MpuP_RegionSize
Enum's to represent different possible MPU region size.
Definition: MpuP_armv7.h:68
uint8_t isEnable
Definition: MpuP_armv7.h:109
uint32_t numRegions
Definition: MpuP_armv7.h:135
@ MpuP_RegionSize_256
Definition: MpuP_armv7.h:72
@ MpuP_AP_S_R
Definition: MpuP_armv7.h:61
@ MpuP_RegionSize_2K
Definition: MpuP_armv7.h:75
@ MpuP_RegionSize_32M
Definition: MpuP_armv7.h:89
@ MpuP_RegionSize_4K
Definition: MpuP_armv7.h:76
@ MpuP_RegionSize_64K
Definition: MpuP_armv7.h:80
@ MpuP_RegionSize_128K
Definition: MpuP_armv7.h:81
@ MpuP_RegionSize_1K
Definition: MpuP_armv7.h:74
@ MpuP_RegionSize_4M
Definition: MpuP_armv7.h:86
uint8_t accessPerm
Definition: MpuP_armv7.h:115
MPU config structure, this used by SysConfig and not to be used by end-users directly.
Definition: MpuP_armv7.h:133
@ MpuP_RegionSize_16K
Definition: MpuP_armv7.h:78
@ MpuP_AP_ALL_RW
Definition: MpuP_armv7.h:60
MpuP_AccessPerm
Enum's to represent different types of access permissions that are possible for a given MPU region.
Definition: MpuP_armv7.h:56
@ MpuP_AP_S_RW_U_R
Definition: MpuP_armv7.h:59
void MpuP_init(void)
Initialize MPU sub-system, called by SysConfig, not to be called by end users.
@ MpuP_AP_ALL_BLOCK
Definition: MpuP_armv7.h:57
MpuP_RegionAttrs attrs
Definition: MpuP_armv7.h:126
Region config structure, this used by SysConfig and not to be used by end-users directly.
Definition: MpuP_armv7.h:122
@ MpuP_RegionSize_8M
Definition: MpuP_armv7.h:87
@ MpuP_RegionSize_1M
Definition: MpuP_armv7.h:84
@ MpuP_RegionSize_128
Definition: MpuP_armv7.h:71
uint32_t enableBackgroundRegion
Definition: MpuP_armv7.h:136
Attribute's to apply for a MPU region.
Definition: MpuP_armv7.h:107
@ MpuP_RegionSize_64M
Definition: MpuP_armv7.h:90
@ MpuP_RegionSize_256M
Definition: MpuP_armv7.h:92
@ MpuP_RegionSize_1G
Definition: MpuP_armv7.h:94
@ MpuP_RegionSize_512K
Definition: MpuP_armv7.h:83
@ MpuP_RegionSize_2G
Definition: MpuP_armv7.h:95
@ MpuP_RegionSize_32K
Definition: MpuP_armv7.h:79
@ MpuP_RegionSize_128M
Definition: MpuP_armv7.h:91
uint32_t baseAddr
Definition: MpuP_armv7.h:124
@ MpuP_AP_S_RW
Definition: MpuP_armv7.h:58
void MpuP_setRegion(uint32_t regionNum, void *addr, uint32_t size, MpuP_RegionAttrs *attrs)
Setup a region in the MPU.
uint32_t MpuP_isEnable(void)
Check if MPU sub-system is enabled.
@ MpuP_RegionSize_512M
Definition: MpuP_armv7.h:93
void MpuP_enable(void)
Enable MPU sub-system using the region that are setup using MpuP_setRegion.
uint8_t isBufferable
Definition: MpuP_armv7.h:111