STM32L443xx HAL User Manual
|
Initialization and Configuration functions. More...
Functions | |
void | HAL_NVIC_SetPriorityGrouping (uint32_t PriorityGroup) |
Set the priority grouping field (pre-emption priority and subpriority) using the required unlock sequence. | |
void | HAL_NVIC_SetPriority (IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority) |
Set the priority of an interrupt. | |
void | HAL_NVIC_EnableIRQ (IRQn_Type IRQn) |
Enable a device specific interrupt in the NVIC interrupt controller. | |
void | HAL_NVIC_DisableIRQ (IRQn_Type IRQn) |
Disable a device specific interrupt in the NVIC interrupt controller. | |
void | HAL_NVIC_SystemReset (void) |
Initiate a system reset request to reset the MCU. | |
uint32_t | HAL_SYSTICK_Config (uint32_t TicksNumb) |
Initialize the System Timer with interrupt enabled and start the System Tick Timer (SysTick): Counter is in free running mode to generate periodic interrupts. |
Initialization and Configuration functions.
============================================================================== ##### Initialization and Configuration functions ##### ============================================================================== [..] This section provides the CORTEX HAL driver functions allowing to configure Interrupts SysTick functionalities
void HAL_NVIC_DisableIRQ | ( | IRQn_Type | IRQn | ) |
Disable a device specific interrupt in the NVIC interrupt controller.
IRQn | External interrupt number. This parameter can be an enumerator of IRQn_Type enumeration (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSIS device file (stm32l4xxxx.h)) |
None |
Definition at line 223 of file stm32l4xx_hal_cortex.c.
References assert_param, and IS_NVIC_DEVICE_IRQ.
void HAL_NVIC_EnableIRQ | ( | IRQn_Type | IRQn | ) |
Enable a device specific interrupt in the NVIC interrupt controller.
IRQn | External interrupt number. This parameter can be an enumerator of IRQn_Type enumeration (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSIS device file (stm32l4xxxx.h)) |
None |
Definition at line 207 of file stm32l4xx_hal_cortex.c.
References assert_param, and IS_NVIC_DEVICE_IRQ.
void HAL_NVIC_SetPriority | ( | IRQn_Type | IRQn, |
uint32_t | PreemptPriority, | ||
uint32_t | SubPriority | ||
) |
Set the priority of an interrupt.
IRQn,: | External interrupt number. This parameter can be an enumerator of IRQn_Type enumeration (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSIS device file (stm32l4xxxx.h)) |
PreemptPriority,: | The pre-emption priority for the IRQn channel. This parameter can be a value between 0 and 15 A lower priority value indicates a higher priority |
SubPriority,: | the subpriority level for the IRQ channel. This parameter can be a value between 0 and 15 A lower priority value indicates a higher priority. |
None |
Definition at line 185 of file stm32l4xx_hal_cortex.c.
References assert_param, IS_NVIC_PREEMPTION_PRIORITY, and IS_NVIC_SUB_PRIORITY.
Referenced by HAL_InitTick().
void HAL_NVIC_SetPriorityGrouping | ( | uint32_t | PriorityGroup | ) |
Set the priority grouping field (pre-emption priority and subpriority) using the required unlock sequence.
PriorityGroup,: | The priority grouping bits length. This parameter can be one of the following values:
|
None |
Definition at line 163 of file stm32l4xx_hal_cortex.c.
References assert_param, and IS_NVIC_PRIORITY_GROUP.
Referenced by HAL_Init().
void HAL_NVIC_SystemReset | ( | void | ) |
Initiate a system reset request to reset the MCU.
None |
Definition at line 236 of file stm32l4xx_hal_cortex.c.
uint32_t HAL_SYSTICK_Config | ( | uint32_t | TicksNumb | ) |
Initialize the System Timer with interrupt enabled and start the System Tick Timer (SysTick): Counter is in free running mode to generate periodic interrupts.
TicksNumb,: | Specifies the ticks Number of ticks between two interrupts. |
status,: | - 0 Function succeeded.
|
Definition at line 249 of file stm32l4xx_hal_cortex.c.
Referenced by HAL_InitTick().