93#ifdef HAL_CORTEX_MODULE_ENABLED
166 uint32_t prioritygroup;
251#if (__MPU_PRESENT == 1)
256void HAL_MPU_Disable(
void)
279void HAL_MPU_Enable(uint32_t MPU_Control)
296void HAL_MPU_EnableRegion(uint32_t RegionNumber)
302 MPU->RNR = RegionNumber;
312void HAL_MPU_DisableRegion(uint32_t RegionNumber)
318 MPU->RNR = RegionNumber;
330void HAL_MPU_ConfigRegion(
const MPU_Region_InitTypeDef *MPU_Init)
335 assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_Init->DisableExec));
336 assert_param(IS_MPU_REGION_PERMISSION_ATTRIBUTE(MPU_Init->AccessPermission));
338 assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
339 assert_param(IS_MPU_ACCESS_CACHEABLE(MPU_Init->IsCacheable));
340 assert_param(IS_MPU_ACCESS_BUFFERABLE(MPU_Init->IsBufferable));
341 assert_param(IS_MPU_SUB_REGION_DISABLE(MPU_Init->SubRegionDisable));
345 MPU->RNR = MPU_Init->Number;
351 MPU->RBAR = MPU_Init->BaseAddress;
512#if defined(DUAL_CORE)
520 if (((
SCB->CPUID & 0x000000F0U) >> 4 )== 0x7U)
#define SCB
SCB configuration struct.
#define MPU
Memory Protection Unit.
#define SysTick
SysTick configuration struct.
#define MPU_CTRL_ENABLE_Msk
MPU CTRL: ENABLE Mask.
#define SCB_SHCSR_MEMFAULTENA_Msk
SCB SHCSR: MEMFAULTENA Mask.
#define __DSB()
Data Synchronization Barrier.
#define __DMB()
Data Memory Barrier.
#define __ISB()
Instruction Synchronization Barrier.
#define NVIC_SetPriorityGrouping
#define NVIC_SetPendingIRQ
__STATIC_INLINE void NVIC_DecodePriority(uint32_t Priority, uint32_t PriorityGroup, uint32_t *const pPreemptPriority, uint32_t *const pSubPriority)
Decode Priority.
#define NVIC_GetPriorityGrouping
#define NVIC_ClearPendingIRQ
#define NVIC_GetPendingIRQ
__STATIC_INLINE uint32_t NVIC_EncodePriority(uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority)
Encode Priority.
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
System Tick Configuration.
#define MPU_RASR_S_Pos
MPU RASR: ATTRS.S Position.
#define MPU_RASR_TEX_Pos
MPU RASR: ATTRS.TEX Position.
#define MPU_RASR_C_Pos
MPU RASR: ATTRS.C Position.
#define MPU_RASR_ENABLE_Pos
MPU RASR: Region enable bit Position.
#define MPU_RASR_XN_Pos
MPU RASR: ATTRS.XN Position.
#define MPU_RASR_AP_Pos
MPU RASR: ATTRS.AP Position.
#define MPU_RASR_SIZE_Pos
MPU RASR: Region Size Field Position.
#define MPU_RASR_SRD_Pos
MPU RASR: Sub-Region Disable Position.
#define MPU_RASR_B_Pos
MPU RASR: ATTRS.B Position.
#define MPU_RASR_ENABLE_Msk
MPU RASR: Region enable bit Disable Mask.
void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
void HAL_NVIC_SystemReset(void)
void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn)
void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn)
uint32_t HAL_GetCurrentCPUID(void)
void HAL_SYSTICK_Callback(void)
void HAL_SYSTICK_IRQHandler(void)
void HAL_NVIC_GetPriority(IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t *pPreemptPriority, uint32_t *pSubPriority)
uint32_t HAL_NVIC_GetPriorityGrouping(void)
uint32_t HAL_NVIC_GetActive(IRQn_Type IRQn)
void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn)
#define IS_NVIC_SUB_PRIORITY(PRIORITY)
#define IS_SYSTICK_CLK_SOURCE(SOURCE)
#define IS_NVIC_PRIORITY_GROUP(GROUP)
#define IS_NVIC_DEVICE_IRQ(IRQ)
#define IS_NVIC_PREEMPTION_PRIORITY(PRIORITY)
#define SYSTICK_CLKSOURCE_HCLK
#define CLEAR_BIT(REG, BIT)
#define SET_BIT(REG, BIT)
IRQn_Type
STM32H7XX Interrupt Number Definition, according to the selected device in Library_configuration_sect...
This file contains all the functions prototypes for the HAL module driver.
#define assert_param(expr)
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code.