STM32L443xx HAL User Manual
|
Defines | |
#define | __HAL_PWR_GET_FLAG(__FLAG__) |
Check whether or not a specific PWR flag is set. | |
#define | __HAL_PWR_CLEAR_FLAG(__FLAG__) |
Clear a specific PWR flag. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_IT() SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Line. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_IT() CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Line. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_EVENT() SET_BIT(EXTI->EMR1, PWR_EVENT_LINE_PVD) |
Enable the PVD Event Line. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_EVENT() CLEAR_BIT(EXTI->EMR1, PWR_EVENT_LINE_PVD) |
Disable the PVD Event Line. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE() SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Rising Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE() CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Rising Trigger. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE() SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Falling Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE() CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Falling Trigger. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE() |
Enable the PVD Extended Interrupt Rising & Falling Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE() |
Disable the PVD Extended Interrupt Rising & Falling Trigger. | |
#define | __HAL_PWR_PVD_EXTI_GENERATE_SWIT() SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD) |
Generate a Software interrupt on selected EXTI line. | |
#define | __HAL_PWR_PVD_EXTI_GET_FLAG() (EXTI->PR1 & PWR_EXTI_LINE_PVD) |
Check whether or not the PVD EXTI interrupt flag is set. | |
#define | __HAL_PWR_PVD_EXTI_CLEAR_FLAG() WRITE_REG(EXTI->PR1, PWR_EXTI_LINE_PVD) |
Clear the PVD EXTI interrupt flag. |
#define __HAL_PWR_CLEAR_FLAG | ( | __FLAG__ | ) |
( (((uint8_t)(__FLAG__)) == PWR_FLAG_WU) ?\ (PWR->SCR = (__FLAG__)) :\ (PWR->SCR = (1U << ((__FLAG__) & 31U))) )
Clear a specific PWR flag.
__FLAG__ | specifies the flag to clear. This parameter can be one of the following values:
|
None |
Definition at line 216 of file stm32l4xx_hal_pwr.h.
#define __HAL_PWR_GET_FLAG | ( | __FLAG__ | ) |
( ((((uint8_t)(__FLAG__)) >> 5U) == 1) ?\ (PWR->SR1 & (1U << ((__FLAG__) & 31U))) :\ (PWR->SR2 & (1U << ((__FLAG__) & 31U))) )
Check whether or not a specific PWR flag is set.
__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 194 of file stm32l4xx_hal_pwr.h.
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG | ( | ) | WRITE_REG(EXTI->PR1, PWR_EXTI_LINE_PVD) |
Clear the PVD EXTI interrupt flag.
None |
Definition at line 305 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWREx_PVD_PVM_IRQHandler().
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT | ( | ) | CLEAR_BIT(EXTI->EMR1, PWR_EVENT_LINE_PVD) |
Disable the PVD Event Line.
None |
Definition at line 241 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE | ( | ) | CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Falling Trigger.
None |
Definition at line 266 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_DISABLE_IT | ( | ) | CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Line.
None |
Definition at line 229 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE | ( | ) | CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Rising Trigger.
None |
Definition at line 253 of file stm32l4xx_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(0)
Disable the PVD Extended Interrupt Rising & Falling Trigger.
None |
Definition at line 283 of file stm32l4xx_hal_pwr.h.
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT | ( | ) | SET_BIT(EXTI->EMR1, PWR_EVENT_LINE_PVD) |
Enable the PVD Event Line.
None |
Definition at line 235 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE | ( | ) | SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Falling Trigger.
None |
Definition at line 259 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_ENABLE_IT | ( | ) | SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Line.
None |
Definition at line 223 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWR_ConfigPVD().
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE | ( | ) | SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Rising Trigger.
None |
Definition at line 247 of file stm32l4xx_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(0)
Enable the PVD Extended Interrupt Rising & Falling Trigger.
None |
Definition at line 273 of file stm32l4xx_hal_pwr.h.
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT | ( | ) | SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD) |
Generate a Software interrupt on selected EXTI line.
None |
Definition at line 293 of file stm32l4xx_hal_pwr.h.
#define __HAL_PWR_PVD_EXTI_GET_FLAG | ( | ) | (EXTI->PR1 & PWR_EXTI_LINE_PVD) |
Check whether or not the PVD EXTI interrupt flag is set.
EXTI | PVD Line Status. |
Definition at line 299 of file stm32l4xx_hal_pwr.h.
Referenced by HAL_PWREx_PVD_PVM_IRQHandler().