STM32L443xx HAL User Manual
|
macros to manage the specified RCC Flags and interrupts. More...
Defines | |
#define | __HAL_RCC_ENABLE_IT(__INTERRUPT__) SET_BIT(RCC->CIER, (__INTERRUPT__)) |
Enable RCC interrupt(s). | |
#define | __HAL_RCC_DISABLE_IT(__INTERRUPT__) CLEAR_BIT(RCC->CIER, (__INTERRUPT__)) |
Disable RCC interrupt(s). | |
#define | __HAL_RCC_CLEAR_IT(__INTERRUPT__) WRITE_REG(RCC->CICR, (__INTERRUPT__)) |
Clear the RCC's interrupt pending bits. | |
#define | __HAL_RCC_GET_IT(__INTERRUPT__) (READ_BIT(RCC->CIFR, (__INTERRUPT__)) == (__INTERRUPT__)) |
Check whether the RCC interrupt has occurred or not. | |
#define | __HAL_RCC_CLEAR_RESET_FLAGS() SET_BIT(RCC->CSR, RCC_CSR_RMVF) |
Set RMVF bit to clear the reset flags. | |
#define | __HAL_RCC_GET_FLAG(__FLAG__) |
Check whether the selected RCC flag is set or not. |
macros to manage the specified RCC Flags and interrupts.
#define __HAL_RCC_CLEAR_IT | ( | __INTERRUPT__ | ) | WRITE_REG(RCC->CICR, (__INTERRUPT__)) |
Clear the RCC's interrupt pending bits.
__INTERRUPT__ | specifies the interrupt pending bit to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 4535 of file stm32l4xx_hal_rcc.h.
Referenced by HAL_RCC_NMI_IRQHandler(), and HAL_RCCEx_LSECSS_IRQHandler().
#define __HAL_RCC_CLEAR_RESET_FLAGS | ( | ) | SET_BIT(RCC->CSR, RCC_CSR_RMVF) |
Set RMVF bit to clear the reset flags.
The reset flags are: RCC_FLAG_FWRRST, RCC_FLAG_OBLRST, RCC_FLAG_PINRST, RCC_FLAG_BORRST, RCC_FLAG_SFTRST, RCC_FLAG_IWDGRST, RCC_FLAG_WWDGRST and RCC_FLAG_LPWRRST.
None |
Definition at line 4565 of file stm32l4xx_hal_rcc.h.
#define __HAL_RCC_DISABLE_IT | ( | __INTERRUPT__ | ) | CLEAR_BIT(RCC->CIER, (__INTERRUPT__)) |
Disable RCC interrupt(s).
__INTERRUPT__ | specifies the RCC interrupt source(s) to be disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 4512 of file stm32l4xx_hal_rcc.h.
Referenced by HAL_RCCEx_DisableLSECSS().
#define __HAL_RCC_ENABLE_IT | ( | __INTERRUPT__ | ) | SET_BIT(RCC->CIER, (__INTERRUPT__)) |
Enable RCC interrupt(s).
__INTERRUPT__ | specifies the RCC interrupt source(s) to be enabled. This parameter can be any combination of the following values:
|
None |
Definition at line 4490 of file stm32l4xx_hal_rcc.h.
Referenced by HAL_RCCEx_EnableLSECSS_IT().
#define __HAL_RCC_GET_FLAG | ( | __FLAG__ | ) |
(((((((__FLAG__) >> 5U) == 1U) ? RCC->CR : \ ((((__FLAG__) >> 5U) == 4U) ? RCC->CRRCR : \ ((((__FLAG__) >> 5U) == 2U) ? RCC->BDCR : \ ((((__FLAG__) >> 5U) == 3U) ? RCC->CSR : RCC->CIFR)))) & \ (1U << ((__FLAG__) & RCC_FLAG_MASK))) != 0U) ? 1U : 0U)
Check whether the selected RCC flag is set or not.
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of __FLAG__ (TRUE or FALSE). |
Definition at line 4596 of file stm32l4xx_hal_rcc.h.
#define __HAL_RCC_GET_IT | ( | __INTERRUPT__ | ) | (READ_BIT(RCC->CIFR, (__INTERRUPT__)) == (__INTERRUPT__)) |
Check whether the RCC interrupt has occurred or not.
__INTERRUPT__ | specifies the RCC interrupt source to check. This parameter can be one of the following values:
|
The | new state of __INTERRUPT__ (TRUE or FALSE). |
Definition at line 4558 of file stm32l4xx_hal_rcc.h.
Referenced by HAL_RCC_NMI_IRQHandler(), and HAL_RCCEx_LSECSS_IRQHandler().