STM32F479xx HAL User Manual
|
Defines | |
#define | __HAL_PWR_GET_FLAG(__FLAG__) ((PWR->CSR & (__FLAG__)) == (__FLAG__)) |
Check PWR flag is set or not. | |
#define | __HAL_PWR_CLEAR_FLAG(__FLAG__) (PWR->CR |= (__FLAG__) << 2U) |
Clear the PWR's pending flags. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_IT() (EXTI->IMR |= (PWR_EXTI_LINE_PVD)) |
Enable the PVD Exti Line 16. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_IT() (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD)) |
Disable the PVD EXTI Line 16. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_EVENT() (EXTI->EMR |= (PWR_EXTI_LINE_PVD)) |
Enable event on PVD Exti Line 16. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_EVENT() (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD)) |
Disable event on PVD Exti Line 16. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE() SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Rising Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE() CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Rising Trigger. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE() SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Falling Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE() CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Falling Trigger. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE() |
PVD EXTI line configuration: set rising & falling edge trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE() |
Disable the PVD Extended Interrupt Rising & Falling Trigger. | |
#define | __HAL_PWR_PVD_EXTI_GET_FLAG() (EXTI->PR & (PWR_EXTI_LINE_PVD)) |
checks whether the specified PVD Exti interrupt flag is set or not. | |
#define | __HAL_PWR_PVD_EXTI_CLEAR_FLAG() (EXTI->PR = (PWR_EXTI_LINE_PVD)) |
Clear the PVD Exti flag. | |
#define | __HAL_PWR_PVD_EXTI_GENERATE_SWIT() (EXTI->SWIER |= (PWR_EXTI_LINE_PVD)) |
Generates a Software interrupt on PVD EXTI line. |
#define __HAL_PWR_CLEAR_FLAG | ( | __FLAG__ | ) | (PWR->CR |= (__FLAG__) << 2U) |
Clear the PWR's pending flags.
__FLAG__ | specifies the flag to clear. This parameter can be one of the following values:
|
Definition at line 181 of file stm32f4xx_hal_pwr.h.
#define __HAL_PWR_GET_FLAG | ( | __FLAG__ | ) | ((PWR->CSR & (__FLAG__)) == (__FLAG__)) |
Check PWR 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 173 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWREx_ControlVoltageScaling(), HAL_PWREx_DisableBkUpReg(), HAL_PWREx_DisableOverDrive(), HAL_PWREx_EnableBkUpReg(), and HAL_PWREx_EnableOverDrive().
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG | ( | ) | (EXTI->PR = (PWR_EXTI_LINE_PVD)) |
Clear the PVD Exti flag.
None. |
Definition at line 260 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_PVD_IRQHandler().
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT | ( | ) | (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD)) |
Disable event on PVD Exti Line 16.
None. |
Definition at line 205 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE | ( | ) | CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Falling Trigger.
None. |
Definition at line 230 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_DISABLE_IT | ( | ) | (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD)) |
Disable the PVD EXTI Line 16.
None. |
Definition at line 193 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE | ( | ) | CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Rising Trigger.
None. |
Definition at line 217 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE | ( | ) |
do{__HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();\ __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();\ }while(0U)
Disable the PVD Extended Interrupt Rising & Falling Trigger.
This parameter can be:
None. |
Definition at line 246 of file stm32f4xx_hal_pwr.h.
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT | ( | ) | (EXTI->EMR |= (PWR_EXTI_LINE_PVD)) |
Enable event on PVD Exti Line 16.
None. |
Definition at line 199 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE | ( | ) | SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Falling Trigger.
None. |
Definition at line 223 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_ENABLE_IT | ( | ) | (EXTI->IMR |= (PWR_EXTI_LINE_PVD)) |
Enable the PVD Exti Line 16.
None. |
Definition at line 187 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE | ( | ) | SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Rising Trigger.
None. |
Definition at line 211 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE | ( | ) |
do{__HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE();\ __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();\ }while(0U)
PVD EXTI line configuration: set rising & falling edge trigger.
None. |
Definition at line 237 of file stm32f4xx_hal_pwr.h.
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT | ( | ) | (EXTI->SWIER |= (PWR_EXTI_LINE_PVD)) |
Generates a Software interrupt on PVD EXTI line.
None |
Definition at line 266 of file stm32f4xx_hal_pwr.h.
#define __HAL_PWR_PVD_EXTI_GET_FLAG | ( | ) | (EXTI->PR & (PWR_EXTI_LINE_PVD)) |
checks whether the specified PVD Exti interrupt flag is set or not.
EXTI | PVD Line Status. |
Definition at line 254 of file stm32f4xx_hal_pwr.h.
Referenced by HAL_PWR_PVD_IRQHandler().