104 #if FEATURE_MPU_HAS_PROCESS_IDENTIFIER
118 #if FEATURE_MPU_HAS_PROCESS_IDENTIFIER
136 #if defined(__cplusplus)
277 #if FEATURE_MPU_HAS_PROCESS_IDENTIFIER
288 uint8_t processIdentifierMask)
310 uint8_t processIdentifier)
361 #if defined(__cplusplus)
static void MPU_HAL_SetProcessIdentifierMask(MPU_Type *const base, uint8_t regionNum, uint8_t processIdentifierMask)
Sets the process identifier mask.
void MPU_HAL_SetAlternateHighMasterAccessRights(MPU_Type *const base, uint8_t regionNum, uint8_t masterNum, const mpu_high_masters_access_rights_t *accessRightsPtr)
Sets access permission for master which has only read and write permissions in a specific region by a...
MPU access rights for master which have only read and write permissions Implements : mpu_high_masters...
#define MPU_CESR_VLD_SHIFT
struct MPU_Type::@15 RGD[MPU_RGD_COUNT]
void MPU_HAL_SetHighMasterAccessRights(MPU_Type *const base, uint8_t regionNum, uint8_t masterNum, const mpu_high_masters_access_rights_t *accessRightsPtr)
Sets access permission for master which has only read and write permissions in a specific region...
bool MPU_HAL_GetSlavePortErrorStatus(const MPU_Type *const base, uint8_t slaveNum)
Gets the error status of a specified slave port.
#define MPU_CESR_VLD_MASK
#define MPU_RGD_WORD3_PID(x)
#define MPU_RGD_WORD3_PIDMASK(x)
mpu_err_access_type_t accessType
mpu_user_access_rights_t userAccessRights
static void MPU_HAL_Disable(MPU_Type *const base)
Disables the MPU module.
static uint8_t MPU_HAL_GetHardwareRevision(const MPU_Type *const base)
Gets MPU hardware revision level.
uint8_t processorIdentification
static void MPU_HAL_Enable(MPU_Type *const base)
Enables the MPU module.
void MPU_HAL_SetAlternateLowMasterAccessRights(MPU_Type *const base, uint8_t regionNum, uint8_t masterNum, const mpu_low_masters_access_rights_t *accessRightsPtr)
Sets access permission for master which has separated privilege rights for user and supervisor mode a...
mpu_supervisor_access_rights_t
MPU access rights in supervisor mode Implements : mpu_supervisor_access_rights_t_Class.
void MPU_HAL_SetLowMasterAccessRights(MPU_Type *const base, uint8_t regionNum, uint8_t masterNum, const mpu_low_masters_access_rights_t *accessRightsPtr)
Sets access permission for master which has separated privilege rights for user and supervisor mode a...
void MPU_HAL_Init(MPU_Type *const base)
Initializes the MPU module and all regions will be invalid after cleared access permission.
#define MPU_RGD_WORD3_PIDMASK_MASK
#define MPU_RGD_WORD3_PID_MASK
static void MPU_HAL_SetRegionValidCmd(MPU_Type *const base, uint8_t regionNum, bool enable)
Sets the region valid value. When a region changed not by alternating registers should set the valid ...
#define MPU_CESR_HRL_SHIFT
mpu_supervisor_access_rights_t superAccessRights
mpu_err_attributes_t
MPU access error attributes Implements : mpu_err_attributes_t_Class.
mpu_err_attributes_t attributes
mpu_user_access_rights_t
MPU access rights in user mode Implements : mpu_user_access_rights_t_Class.
MPU detail error access info Implements : mpu_access_err_info_t_Class.
#define MPU_RGD_WORD3_VLD_MASK
MPU access rights for masters which have separated privilege rights for user and supervisor mode acce...
void MPU_HAL_SetRegionAddr(MPU_Type *const base, uint8_t regionNum, uint32_t startAddr, uint32_t endAddr)
Sets region start and end address. Please note that using this function will clear the valid bit of t...
#define MPU_RGD_WORD3_VLD(x)
#define MPU_CESR_HRL_MASK
bool processIdentifierEnable
void MPU_HAL_GetDetailErrorAccessInfo(MPU_Type *const base, uint8_t slaveNum, mpu_access_err_info_t *errInfoPtr)
Gets MPU detail error access info.
static void MPU_HAL_SetProcessIdentifier(MPU_Type *const base, uint8_t regionNum, uint8_t processIdentifier)
Sets the process identifier.
static bool MPU_HAL_IsEnable(const MPU_Type *const base)
Checks whether the MPU module is enabled.
mpu_err_access_type_t
MPU access error Implements : mpu_err_access_type_t_Class.