macros to manage the specified RCC Flags and interrupts.
More...
macros to manage the specified RCC Flags and interrupts.
◆ __HAL_RCC_CLEAR_IT
Clear the RCC's interrupt pending bits.
- Parameters
-
__INTERRUPT__ | specifies the interrupt pending bit to clear. This parameter can be any combination of the following values:
|
◆ __HAL_RCC_CLEAR_RESET_FLAGS
Set RMVF bit to clear the reset flags.
The reset flags are RCC_FLAG_PINRST, RCC_FLAG_PORRST, RCC_FLAG_SFTRST, RCC_FLAG_OBLRST, RCC_FLAG_IWDGRST, RCC_FLAG_WWDGRST, RCC_FLAG_LPWRRST
◆ __HAL_RCC_DISABLE_IT
Disable RCC interrupt.
- Parameters
-
__INTERRUPT__ | specifies the RCC interrupt sources to be disabled. This parameter can be any combination of the following values:
|
◆ __HAL_RCC_ENABLE_IT
Enable RCC interrupt.
- Parameters
-
__INTERRUPT__ | specifies the RCC interrupt sources to be enabled. This parameter can be any combination of the following values:
|
◆ __HAL_RCC_GET_FLAG
#define __HAL_RCC_GET_FLAG |
( |
|
__FLAG__ | ) |
|
Value:
#define RCC
Definition: stm32f303xe.h:977
#define BDCR_REG_INDEX
Definition: stm32f3xx_hal_rcc.h:137
#define CR_REG_INDEX
Definition: stm32f3xx_hal_rcc.h:136
#define CFGR_REG_INDEX
Definition: stm32f3xx_hal_rcc.h:139
#define RCC_FLAG_MASK
Definition: stm32f3xx_hal_rcc.h:141
Check RCC flag is set or not.
- Parameters
-
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
- Return values
-
The | new state of FLAG (TRUE or FALSE). |
◆ __HAL_RCC_GET_IT
#define __HAL_RCC_GET_IT |
( |
|
__INTERRUPT__ | ) |
((RCC->CIR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Check the RCC's interrupt has occurred or not.
- Parameters
-
__INTERRUPT__ | specifies the RCC interrupt source to check. This parameter can be one of the following values:
|
- Return values
-
The | new state of INTERRUPT (TRUE or FALSE). |