STM32H735xx 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. | |
#define | __HAL_RCC_DISABLE_IT(__INTERRUPT__) CLEAR_BIT(RCC->CIER, (__INTERRUPT__)) |
Disable RCC interrupt. | |
#define | __HAL_RCC_CLEAR_IT(__INTERRUPT__) (RCC->CICR = (__INTERRUPT__)) |
Clear the RCC's interrupt pending bits. | |
#define | __HAL_RCC_GET_IT(__INTERRUPT__) ((RCC->CIFR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Check the RCC's interrupt has occurred or not. | |
#define | __HAL_RCC_CLEAR_RESET_FLAGS() (RCC->RSR |= RCC_RSR_RMVF) |
Set RMVF bit to clear the reset flags. | |
#define | RCC_FLAG_MASK ((uint8_t)0x1F) |
Check RCC flag is set or not. | |
#define | __HAL_RCC_GET_FLAG(__FLAG__) |
macros to manage the specified RCC Flags and interrupts.
#define __HAL_RCC_CLEAR_IT | ( | __INTERRUPT__ | ) | (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:
|
Definition at line 7832 of file stm32h7xx_hal_rcc.h.
Referenced by HAL_RCC_NMI_IRQHandler(), and HAL_RCCEx_LSECSS_IRQHandler().
#define __HAL_RCC_CLEAR_RESET_FLAGS | ( | ) | (RCC->RSR |= RCC_RSR_RMVF) |
Set RMVF bit to clear the reset flags.
Definition at line 7854 of file stm32h7xx_hal_rcc.h.
#define __HAL_RCC_DISABLE_IT | ( | __INTERRUPT__ | ) | CLEAR_BIT(RCC->CIER, (__INTERRUPT__)) |
Disable RCC interrupt.
__INTERRUPT__,: | specifies the RCC interrupt sources to be disabled. This parameter can be any combination of the following values:
|
Definition at line 7815 of file stm32h7xx_hal_rcc.h.
Referenced by HAL_RCCEx_DisableLSECSS().
#define __HAL_RCC_ENABLE_IT | ( | __INTERRUPT__ | ) | SET_BIT(RCC->CIER, (__INTERRUPT__)) |
Enable RCC interrupt.
__INTERRUPT__,: | specifies the RCC interrupt sources to be enabled. This parameter can be any combination of the following values:
|
Definition at line 7799 of file stm32h7xx_hal_rcc.h.
Referenced by HAL_RCCEx_EnableLSECSS_IT().
#define __HAL_RCC_GET_FLAG | ( | __FLAG__ | ) |
(((((((__FLAG__) >> 5U) == 1U)? RCC->CR :((((__FLAG__) >> 5U) == 2U) ? RCC->BDCR : \ ((((__FLAG__) >> 5U) == 3U)? RCC->CSR : ((((__FLAG__) >> 5U) == 4U)? RCC->RSR :RCC->CIFR)))) & (1UL << ((__FLAG__) & RCC_FLAG_MASK)))!= 0U)? 1U : 0U)
Definition at line 7943 of file stm32h7xx_hal_rcc.h.
Referenced by HAL_RCC_ClockConfig(), HAL_RCC_GetSysClockFreq(), HAL_RCC_OscConfig(), HAL_RCCEx_GetPLL1ClockFreq(), HAL_RCCEx_GetPLL2ClockFreq(), HAL_RCCEx_GetPLL3ClockFreq(), HAL_RCCEx_PeriphCLKConfig(), RCCEx_PLL2_Config(), RCCEx_PLL3_Config(), SMARTCARD_SetConfig(), UART_SetConfig(), and USART_SetConfig().
#define __HAL_RCC_GET_IT | ( | __INTERRUPT__ | ) | ((RCC->CIFR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Check the RCC's interrupt has occurred or not.
__INTERRUPT__,: | specifies the RCC interrupt source to check. This parameter can be any combination of the following values:
|
The | new state of __INTERRUPT__ (TRUE or FALSE). |
Definition at line 7850 of file stm32h7xx_hal_rcc.h.
Referenced by HAL_RCC_NMI_IRQHandler(), and HAL_RCCEx_LSECSS_IRQHandler().
#define RCC_FLAG_MASK ((uint8_t)0x1F) |
Check 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). |
(*) Available on some STM32H7 lines only.
Definition at line 7942 of file stm32h7xx_hal_rcc.h.