STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
macros to manage the specified RCC Flags and interrupts. More...
Macros | |
#define | __HAL_RCC_ENABLE_IT(__INTERRUPT__) |
Enable RCC interrupt (Perform Byte access to RCC_CIR[14:8] bits to enable the selected interrupts). | |
#define | __HAL_RCC_DISABLE_IT(__INTERRUPT__) |
Disable RCC interrupt (Perform Byte access to RCC_CIR[14:8] bits to disable the selected interrupts). | |
#define | __HAL_RCC_CLEAR_IT(__INTERRUPT__) |
Clear the RCC's interrupt pending bits (Perform Byte access to RCC_CIR[23:16] bits to clear the selected interrupt pending bits. | |
#define | __HAL_RCC_GET_IT(__INTERRUPT__) |
Check the RCC's interrupt has occurred or not. | |
#define | __HAL_RCC_CLEAR_RESET_FLAGS() |
Set RMVF bit to clear the reset flags: RCC_FLAG_PINRST, RCC_FLAG_PORRST, RCC_FLAG_SFTRST, RCC_FLAG_IWDGRST, RCC_FLAG_WWDGRST and RCC_FLAG_LPWRRST. | |
#define | RCC_FLAG_MASK ((uint8_t)0x1FU) |
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_ENABLE_IT | ( | __INTERRUPT__ | ) |
#include <stm32f4xx_hal_rcc.h>
Enable RCC interrupt (Perform Byte access to RCC_CIR[14:8] bits to enable the selected interrupts).
__INTERRUPT__ | specifies the RCC interrupt sources to be enabled. This parameter can be any combination of the following values:
|
Definition at line 1156 of file stm32f4xx_hal_rcc.h.
#define __HAL_RCC_DISABLE_IT | ( | __INTERRUPT__ | ) |
#include <stm32f4xx_hal_rcc.h>
Disable RCC interrupt (Perform Byte access to RCC_CIR[14:8] bits to disable the selected interrupts).
__INTERRUPT__ | specifies the RCC interrupt sources to be disabled. This parameter can be any combination of the following values:
|
Definition at line 1169 of file stm32f4xx_hal_rcc.h.
#define __HAL_RCC_CLEAR_IT | ( | __INTERRUPT__ | ) |
#include <stm32f4xx_hal_rcc.h>
Clear the RCC's interrupt pending bits (Perform Byte access to RCC_CIR[23:16] bits to clear the selected interrupt pending bits.
__INTERRUPT__ | specifies the interrupt pending bit to clear. This parameter can be any combination of the following values:
|
Definition at line 1183 of file stm32f4xx_hal_rcc.h.
Referenced by HAL_RCC_NMI_IRQHandler().
#define __HAL_RCC_GET_IT | ( | __INTERRUPT__ | ) |
#include <stm32f4xx_hal_rcc.h>
Check the RCC's 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 1197 of file stm32f4xx_hal_rcc.h.
Referenced by HAL_RCC_NMI_IRQHandler().
#define __HAL_RCC_CLEAR_RESET_FLAGS | ( | ) |
#include <stm32f4xx_hal_rcc.h>
Set RMVF bit to clear the reset flags: RCC_FLAG_PINRST, RCC_FLAG_PORRST, RCC_FLAG_SFTRST, RCC_FLAG_IWDGRST, RCC_FLAG_WWDGRST and RCC_FLAG_LPWRRST.
Definition at line 1202 of file stm32f4xx_hal_rcc.h.
#define RCC_FLAG_MASK ((uint8_t)0x1FU) |
#include <stm32f4xx_hal_rcc.h>
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). |
Definition at line 1222 of file stm32f4xx_hal_rcc.h.
#define __HAL_RCC_GET_FLAG | ( | __FLAG__ | ) |
#include <stm32f4xx_hal_rcc.h>
Definition at line 1223 of file stm32f4xx_hal_rcc.h.
Referenced by HAL_PWREx_ControlVoltageScaling(), HAL_RCC_ClockConfig(), HAL_RCC_OscConfig(), and HAL_RCCEx_PeriphCLKConfig().