Macros
Collaboration diagram for PWR Exported Macro:

Macros

#define __HAL_PWR_CLEAR_FLAG(__FLAG__)   (PWR->CR |= (__FLAG__) << 2U)
 Clear the PWR's pending flags. More...
 
#define __HAL_PWR_CLEAR_FLAG(__FLAG__)   (PWR->CR |= (__FLAG__) << 2U)
 Clear the PWR's pending flags. More...
 
#define __HAL_PWR_CLEAR_FLAG(__FLAG__)   (PWR->CR |= (__FLAG__) << 2U)
 Clear the PWR's pending flags. More...
 
#define __HAL_PWR_CLEAR_FLAG(__FLAG__)   (PWR->CR1 |= (__FLAG__) << 2)
 Clear the PWR's pending flags. More...
 
#define __HAL_PWR_CLEAR_FLAG(__FLAG__)   SET_BIT(PWR->CPUCR, PWR_CPUCR_CSSF)
 Clear CPU PWR flags. More...
 
#define __HAL_PWR_CLEAR_FLAG(__FLAG__)   SET_BIT(PWR->CPUCR, PWR_CPUCR_CSSF)
 Clear CPU PWR flags. More...
 
#define __HAL_PWR_CLEAR_WAKEUPFLAG(__FLAG__)   SET_BIT(PWR->WKUPCR, (__FLAG__))
 Clear PWR wake up flags. More...
 
#define __HAL_PWR_CLEAR_WAKEUPFLAG(__FLAG__)   SET_BIT(PWR->WKUPCR, (__FLAG__))
 Clear PWR wake up flags. More...
 
#define __HAL_PWR_GET_FLAG(__FLAG__)   ((PWR->CSR & (__FLAG__)) == (__FLAG__))
 Check PWR flag is set or not. More...
 
#define __HAL_PWR_GET_FLAG(__FLAG__)   ((PWR->CSR & (__FLAG__)) == (__FLAG__))
 Check PWR flag is set or not. More...
 
#define __HAL_PWR_GET_FLAG(__FLAG__)   ((PWR->CSR & (__FLAG__)) == (__FLAG__))
 Check PWR flag is set or not. More...
 
#define __HAL_PWR_GET_FLAG(__FLAG__)   ((PWR->CSR1 & (__FLAG__)) == (__FLAG__))
 Check PWR flag is set or not. More...
 
#define __HAL_PWR_GET_FLAG(__FLAG__)
 Check PWR flags are set or not. More...
 
#define __HAL_PWR_GET_FLAG(__FLAG__)
 Check PWR flags are set or not. More...
 
#define __HAL_PWR_GET_WAKEUPFLAG(__FLAG__)   ((PWR->WKUPFR & (__FLAG__)) ? 0 : 1)
 Check PWR wake up flags are set or not. More...
 
#define __HAL_PWR_GET_WAKEUPFLAG(__FLAG__)   ((PWR->WKUPFR & (__FLAG__)) ? 0 : 1)
 Check PWR wake up flags are set or not. More...
 
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG()   (EXTI->PR = (PWR_EXTI_LINE_PVD))
 Clear the PVD Exti flag. More...
 
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG()   (EXTI->PR = (PWR_EXTI_LINE_PVD))
 Clear the PVD Exti flag. More...
 
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG()   (EXTI->PR = (PWR_EXTI_LINE_PVD))
 Clear the PVD Exti flag. More...
 
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG()   (EXTI->PR = (PWR_EXTI_LINE_PVD))
 Clear the PVD Exti flag. More...
 
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG()   SET_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD)
 Clear the PVD EXTI flag. More...
 
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG()   SET_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD)
 Clear the PVD EXTI flag. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT()   (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))
 Disable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT()   (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))
 Disable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT()   (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))
 Disable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT()   (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))
 Disable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT()   CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)
 Disable event on PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT()   CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)
 Disable event on PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)
 Disable the PVD Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)
 Disable the PVD Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))
 Disable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))
 Disable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))
 Disable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))
 Disable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_IT()   CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)
 Disable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_IT()   CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)
 Disable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Disable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)
 Disable the PVD Rising Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)
 Disable the PVD Rising Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be: More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be: More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be: More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE()   __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();
 Disable the PVD Extended Interrupt Rising & Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVD Rising & Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVD Rising & Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT()   (EXTI->EMR |= (PWR_EXTI_LINE_PVD))
 Enable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT()   (EXTI->EMR |= (PWR_EXTI_LINE_PVD))
 Enable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT()   (EXTI->EMR |= (PWR_EXTI_LINE_PVD))
 Enable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT()   (EXTI->EMR |= (PWR_EXTI_LINE_PVD))
 Enable event on PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT()   SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)
 Enable event on PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT()   SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)
 Enable event on PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Falling Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)
 Enable the PVD Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)
 Enable the PVD Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_IT()   (EXTI->IMR |= (PWR_EXTI_LINE_PVD))
 Enable the PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_IT()   (EXTI->IMR |= (PWR_EXTI_LINE_PVD))
 Enable the PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_IT()   (EXTI->IMR |= (PWR_EXTI_LINE_PVD))
 Enable the PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_IT()   (EXTI->IMR |= (PWR_EXTI_LINE_PVD))
 Enable the PVD Exti Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_IT()   SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)
 Enable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_IT()   SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)
 Enable the PVD EXTI Line 16. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)
 Enable the PVD Extended Interrupt Rising Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)
 Enable the PVD Rising Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)
 Enable the PVD Rising Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE()
 PVD EXTI line configuration: set rising & falling edge trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE()
 PVD EXTI line configuration: set rising & falling edge trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE()
 PVD EXTI line configuration: set rising & falling edge trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE()   __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();
 PVD EXTI line configuration: set rising & falling edge trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE()
 Enable the PVD Rising & Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE()
 Enable the PVD Rising & Falling Interrupt Trigger. More...
 
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT()   (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))
 Generates a Software interrupt on PVD EXTI line. More...
 
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT()   (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))
 Generates a Software interrupt on PVD EXTI line. More...
 
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT()   (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))
 Generates a Software interrupt on PVD EXTI line. More...
 
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT()   (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))
 Generates a Software interrupt on PVD EXTI line. More...
 
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT()   SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD)
 Generates a Software interrupt on PVD EXTI line. More...
 
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT()   SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD)
 Generates a Software interrupt on PVD EXTI line. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#define __HAL_PWR_PVD_EXTI_GET_FLAG()   ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) == PWR_EXTI_LINE_PVD) ? 1UL : 0UL)
 Check whether the specified PVD EXTI interrupt flag is set or not. More...
 
#define __HAL_PWR_PVD_EXTI_GET_FLAG()   ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) == PWR_EXTI_LINE_PVD) ? 1UL : 0UL)
 Check whether the specified PVD EXTI interrupt flag is set or not. More...
 
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 macros configure the main internal regulator output voltage. More...
 
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 Configure the main internal regulator output voltage. More...
 
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 Configure the main internal regulator output voltage. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_PWR_CLEAR_FLAG [1/6]

#define __HAL_PWR_CLEAR_FLAG (   __FLAG__)    (PWR->CR |= (__FLAG__) << 2U)

Clear the PWR's pending flags.

Parameters
<strong>FLAG</strong>specifies the flag to clear. This parameter can be one of the following values:
  • PWR_FLAG_WU: Wake Up flag
  • PWR_FLAG_SB: StandBy flag

Definition at line 181 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_CLEAR_FLAG [2/6]

#define __HAL_PWR_CLEAR_FLAG (   __FLAG__)    (PWR->CR |= (__FLAG__) << 2U)

Clear the PWR's pending flags.

Parameters
<strong>FLAG</strong>specifies the flag to clear. This parameter can be one of the following values:
  • PWR_FLAG_WU: Wake Up flag
  • PWR_FLAG_SB: StandBy flag

Definition at line 181 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_CLEAR_FLAG [3/6]

#define __HAL_PWR_CLEAR_FLAG (   __FLAG__)    (PWR->CR |= (__FLAG__) << 2U)

Clear the PWR's pending flags.

Parameters
<strong>FLAG</strong>specifies the flag to clear. This parameter can be one of the following values:
  • PWR_FLAG_WU: Wake Up flag
  • PWR_FLAG_SB: StandBy flag

Definition at line 181 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_CLEAR_FLAG [4/6]

#define __HAL_PWR_CLEAR_FLAG (   __FLAG__)    (PWR->CR1 |= (__FLAG__) << 2)

Clear the PWR's pending flags.

Parameters
<strong>FLAG</strong>specifies the flag to clear. This parameter can be one of the following values:
  • PWR_FLAG_SB: StandBy flag

Definition at line 198 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_CLEAR_FLAG [5/6]

#define __HAL_PWR_CLEAR_FLAG (   __FLAG__)    SET_BIT(PWR->CPUCR, PWR_CPUCR_CSSF)

Clear CPU PWR flags.

Parameters
<strong>FLAG</strong>: Specifies the flag to clear.
Note
This parameter is not used for the STM32H7 family and is kept as parameter just to maintain compatibility with other families.
This macro clear all CPU flags. For single core devices except STM32H7Axxx and STM32H7Bxxx, CPU flags are STOPF, SBF, SBF_D1 and SBF_D2. For STM32H7Axxx and STM32H7Bxxx lines, CPU flags are STOPF and SBF.
Return values
None.

Definition at line 517 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_CLEAR_FLAG [6/6]

#define __HAL_PWR_CLEAR_FLAG (   __FLAG__)    SET_BIT(PWR->CPUCR, PWR_CPUCR_CSSF)

Clear CPU PWR flags.

Parameters
<strong>FLAG</strong>: Specifies the flag to clear.
Note
This parameter is not used for the STM32H7 family and is kept as parameter just to maintain compatibility with other families.
This macro clear all CPU flags. For single core devices except STM32H7Axxx and STM32H7Bxxx, CPU flags are STOPF, SBF, SBF_D1 and SBF_D2. For STM32H7Axxx and STM32H7Bxxx lines, CPU flags are STOPF and SBF.
Return values
None.

Definition at line 517 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_CLEAR_WAKEUPFLAG [1/2]

#define __HAL_PWR_CLEAR_WAKEUPFLAG (   __FLAG__)    SET_BIT(PWR->WKUPCR, (__FLAG__))

Clear PWR wake up flags.

Parameters
<strong>FLAG</strong>: Specifies the wake up flag to be cleared. This parameter can be one of the following values :
  • PWR_FLAG_WKUP1 : This parameter clear Wake up line 1 flag.
  • PWR_FLAG_WKUP2 : This parameter clear Wake up line 2 flag.
  • PWR_FLAG_WKUP3 : This parameter clear Wake up line 3 flag.
  • PWR_FLAG_WKUP4 : This parameter clear Wake up line 4 flag.
  • PWR_FLAG_WKUP5 : This parameter clear Wake up line 5 flag.
  • PWR_FLAG_WKUP6 : This parameter clear Wake up line 6 flag.
Note
The PWR_FLAG_WKUP3 and PWR_FLAG_WKUP5 are available only for devices that support GPIOI port.
Return values
None.

Definition at line 533 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_CLEAR_WAKEUPFLAG [2/2]

#define __HAL_PWR_CLEAR_WAKEUPFLAG (   __FLAG__)    SET_BIT(PWR->WKUPCR, (__FLAG__))

Clear PWR wake up flags.

Parameters
<strong>FLAG</strong>: Specifies the wake up flag to be cleared. This parameter can be one of the following values :
  • PWR_FLAG_WKUP1 : This parameter clear Wake up line 1 flag.
  • PWR_FLAG_WKUP2 : This parameter clear Wake up line 2 flag.
  • PWR_FLAG_WKUP3 : This parameter clear Wake up line 3 flag.
  • PWR_FLAG_WKUP4 : This parameter clear Wake up line 4 flag.
  • PWR_FLAG_WKUP5 : This parameter clear Wake up line 5 flag.
  • PWR_FLAG_WKUP6 : This parameter clear Wake up line 6 flag.
Note
The PWR_FLAG_WKUP3 and PWR_FLAG_WKUP5 are available only for devices that support GPIOI port.
Return values
None.

Definition at line 533 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_GET_FLAG [1/6]

#define __HAL_PWR_GET_FLAG (   __FLAG__)    ((PWR->CSR & (__FLAG__)) == (__FLAG__))

Check PWR flag is set or not.

Parameters
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • PWR_FLAG_WU: Wake Up flag. This flag indicates that a wakeup event was received from the WKUP pin or from the RTC alarm (Alarm A or Alarm B), RTC Tamper event, RTC TimeStamp event or RTC Wakeup. An additional wakeup event is detected if the WKUP pin is enabled (by setting the EWUP bit) when the WKUP pin level is already high.
  • PWR_FLAG_SB: StandBy flag. This flag indicates that the system was resumed from StandBy mode.
  • PWR_FLAG_PVDO: PVD Output. This flag is valid only if PVD is enabled by the HAL_PWR_EnablePVD() function. The PVD is stopped by Standby mode For this reason, this bit is equal to 0 after Standby or reset until the PVDE bit is set.
  • PWR_FLAG_BRR: Backup regulator ready flag. This bit is not reset when the device wakes up from Standby mode or by a system reset or power reset.
  • PWR_FLAG_VOSRDY: This flag indicates that the Regulator voltage scaling output selection is ready.
Return values
Thenew state of FLAG (TRUE or FALSE).

Definition at line 173 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_GET_FLAG [2/6]

#define __HAL_PWR_GET_FLAG (   __FLAG__)    ((PWR->CSR & (__FLAG__)) == (__FLAG__))

Check PWR flag is set or not.

Parameters
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • PWR_FLAG_WU: Wake Up flag. This flag indicates that a wakeup event was received from the WKUP pin or from the RTC alarm (Alarm A or Alarm B), RTC Tamper event, RTC TimeStamp event or RTC Wakeup. An additional wakeup event is detected if the WKUP pin is enabled (by setting the EWUP bit) when the WKUP pin level is already high.
  • PWR_FLAG_SB: StandBy flag. This flag indicates that the system was resumed from StandBy mode.
  • PWR_FLAG_PVDO: PVD Output. This flag is valid only if PVD is enabled by the HAL_PWR_EnablePVD() function. The PVD is stopped by Standby mode For this reason, this bit is equal to 0 after Standby or reset until the PVDE bit is set.
  • PWR_FLAG_BRR: Backup regulator ready flag. This bit is not reset when the device wakes up from Standby mode or by a system reset or power reset.
  • PWR_FLAG_VOSRDY: This flag indicates that the Regulator voltage scaling output selection is ready.
Return values
Thenew state of FLAG (TRUE or FALSE).

Definition at line 173 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_GET_FLAG [3/6]

#define __HAL_PWR_GET_FLAG (   __FLAG__)    ((PWR->CSR & (__FLAG__)) == (__FLAG__))

Check PWR flag is set or not.

Parameters
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • PWR_FLAG_WU: Wake Up flag. This flag indicates that a wakeup event was received from the WKUP pin or from the RTC alarm (Alarm A or Alarm B), RTC Tamper event, RTC TimeStamp event or RTC Wakeup. An additional wakeup event is detected if the WKUP pin is enabled (by setting the EWUP bit) when the WKUP pin level is already high.
  • PWR_FLAG_SB: StandBy flag. This flag indicates that the system was resumed from StandBy mode.
  • PWR_FLAG_PVDO: PVD Output. This flag is valid only if PVD is enabled by the HAL_PWR_EnablePVD() function. The PVD is stopped by Standby mode For this reason, this bit is equal to 0 after Standby or reset until the PVDE bit is set.
  • PWR_FLAG_BRR: Backup regulator ready flag. This bit is not reset when the device wakes up from Standby mode or by a system reset or power reset.
  • PWR_FLAG_VOSRDY: This flag indicates that the Regulator voltage scaling output selection is ready.
Return values
Thenew state of FLAG (TRUE or FALSE).

Definition at line 173 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_GET_FLAG [4/6]

#define __HAL_PWR_GET_FLAG (   __FLAG__)    ((PWR->CSR1 & (__FLAG__)) == (__FLAG__))

Check PWR flag is set or not.

Parameters
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • PWR_FLAG_WU: Wake Up flag. This flag indicates that a wakeup event was received on the internal wakeup line in standby mode (RTC alarm (Alarm A or Alarm B), RTC Tamper event, RTC TimeStamp event or RTC Wakeup)).
  • PWR_FLAG_SB: StandBy flag. This flag indicates that the system was resumed from StandBy mode.
  • PWR_FLAG_PVDO: PVD Output. This flag is valid only if PVD is enabled by the HAL_PWR_EnablePVD() function. The PVD is stopped by Standby mode For this reason, this bit is equal to 0 after Standby or reset until the PVDE bit is set.
  • PWR_FLAG_BRR: Backup regulator ready flag. This bit is not reset when the device wakes up from Standby mode or by a system reset or power reset.
  • PWR_FLAG_VOSRDY: This flag indicates that the Regulator voltage scaling output selection is ready.
Return values
Thenew state of FLAG (TRUE or FALSE).

Definition at line 191 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_GET_FLAG [5/6]

#define __HAL_PWR_GET_FLAG (   __FLAG__)
Value:
(((__FLAG__) == PWR_FLAG_PVDO) ? ((PWR->CSR1 & PWR_CSR1_PVDO) == PWR_CSR1_PVDO) :\
((__FLAG__) == PWR_FLAG_AVDO) ? ((PWR->CSR1 & PWR_CSR1_AVDO) == PWR_CSR1_AVDO) :\
((__FLAG__) == PWR_FLAG_ACTVOSRDY) ? ((PWR->CSR1 & PWR_CSR1_ACTVOSRDY) == PWR_CSR1_ACTVOSRDY) :\
((__FLAG__) == PWR_FLAG_BRR) ? ((PWR->CR2 & PWR_CR2_BRRDY) == PWR_CR2_BRRDY) :\
((__FLAG__) == PWR_FLAG_VOSRDY) ? ((PWR->SRDCR & PWR_SRDCR_VOSRDY) == PWR_SRDCR_VOSRDY) :\
((__FLAG__) == PWR_FLAG_SCUEN) ? ((PWR->CR3 & PWR_CR3_SCUEN) == PWR_CR3_SCUEN) :\
((__FLAG__) == PWR_FLAG_STOP) ? ((PWR->CPUCR & PWR_CPUCR_STOPF) == PWR_CPUCR_STOPF) :\
((__FLAG__) == PWR_FLAG_SB) ? ((PWR->CPUCR & PWR_CPUCR_SBF) == PWR_CPUCR_SBF) :\
((__FLAG__) == PWR_FLAG_MMCVDO) ? ((PWR->CSR1 & PWR_CSR1_MMCVDO) == PWR_CSR1_MMCVDO) :\
((__FLAG__) == PWR_FLAG_USB33RDY) ? ((PWR->CR3 & PWR_CR3_USB33RDY) == PWR_CR3_USB33RDY) :\
((__FLAG__) == PWR_FLAG_TEMPH) ? ((PWR->CR2 & PWR_CR2_TEMPH) == PWR_CR2_TEMPH) :\
((__FLAG__) == PWR_FLAG_TEMPL) ? ((PWR->CR2 & PWR_CR2_TEMPL) == PWR_CR2_TEMPL) :\
((__FLAG__) == PWR_FLAG_VBATH) ? ((PWR->CR2 & PWR_CR2_VBATH) == PWR_CR2_VBATH) :\

Check PWR flags are set or not.

Parameters
<strong>FLAG</strong>: Specifies the flag to check. This parameter can be one of the following values:
  • PWR_FLAG_PVDO : PVD Output. This flag is valid only if PVD is enabled by the HAL_PWR_EnablePVD() function. The PVD is stopped by STANDBY mode. For this reason, this bit is equal to 0 after STANDBY or reset until the PVDE bit is set.
  • PWR_FLAG_AVDO : AVD Output. This flag is valid only if AVD is enabled by the HAL_PWREx_EnableAVD() function. The AVD is stopped by STANDBY mode. For this reason, this bit is equal to 0 after STANDBY or reset until the AVDE bit is set.
  • PWR_FLAG_ACTVOSRDY : This flag indicates that the Regulator voltage scaling output selection is ready.
  • PWR_FLAG_BRR : Backup regulator ready flag. This bit is not reset when the device wakes up from STANDBY mode or by a system reset or power-on reset.
  • PWR_FLAG_VOSRDY : This flag indicates that the Regulator voltage scaling output selection is ready. mode or by a system reset or power-on reset.
  • PWR_FLAG_USB33RDY : This flag indicates that the USB supply from regulator is ready.
  • PWR_FLAG_TEMPH : This flag indicates that the temperature equal or above high threshold level.
  • PWR_FLAG_TEMPL : This flag indicates that the temperature equal or below low threshold level.
  • PWR_FLAG_VBATH : This flag indicates that VBAT level equal or above high threshold level.
  • PWR_FLAG_VBATL : This flag indicates that VBAT level equal or below low threshold level.
  • PWR_FLAG_STOP : This flag indicates that the system entered in STOP mode.
  • PWR_FLAG_SB : This flag indicates that the system entered in STANDBY mode.
  • PWR_FLAG_SB_D1 : This flag indicates that the D1 domain entered in STANDBY mode.
  • PWR_FLAG_SB_D2 : This flag indicates that the D2 domain entered in STANDBY mode.
  • PWR_FLAG2_STOP : This flag indicates that the system entered in STOP mode.
  • PWR_FLAG2_SB : This flag indicates that the system entered in STANDBY mode.
  • PWR_FLAG2_SB_D1 : This flag indicates that the D1 domain entered in STANDBY mode.
  • PWR_FLAG2_SB_D2 : This flag indicates that the D2 domain entered in STANDBY mode.
  • PWR_FLAG_CPU_HOLD : This flag indicates that the CPU1 wakes up with hold.
  • PWR_FLAG_CPU2_HOLD : This flag indicates that the CPU2 wakes up with hold.
  • PWR_FLAG_SMPSEXTRDY : This flag indicates that the SMPS External supply is sready.
  • PWR_FLAG_SCUEN : This flag indicates that the supply configuration update is enabled.
  • PWR_FLAG_MMCVDO : This flag indicates that the VDDMMC is above or equal to 1.2 V.
Note
The PWR_FLAG_PVDO, PWR_FLAG_AVDO, PWR_FLAG_ACTVOSRDY, PWR_FLAG_BRR, PWR_FLAG_VOSRDY, PWR_FLAG_USB33RDY, PWR_FLAG_TEMPH, PWR_FLAG_TEMPL, PWR_FLAG_VBATH, PWR_FLAG_VBATL, PWR_FLAG_STOP and PWR_FLAG_SB flags are used for all H7 family lines. The PWR_FLAG2_STOP, PWR_FLAG2_SB, PWR_FLAG2_SB_D1, PWR_FLAG2_SB_D2, PWR_FLAG_CPU_HOLD and PWR_FLAG_CPU2_HOLD flags are used only for H7 dual core lines. The PWR_FLAG_SB_D1 and PWR_FLAG_SB_D2 flags are used for all H7 family except STM32H7Axxx and STM32H7Bxxx lines. The PWR_FLAG_MMCVDO flag is used only for STM32H7Axxx and STM32H7Bxxx lines. The PWR_FLAG_SCUEN flag is used for devices that support only LDO regulator. The PWR_FLAG_SMPSEXTRDY flag is used for devices that support LDO and SMPS regulators.
Return values
The(FLAG) state (TRUE or FALSE).

Definition at line 456 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_GET_FLAG [6/6]

#define __HAL_PWR_GET_FLAG (   __FLAG__)
Value:
(((__FLAG__) == PWR_FLAG_PVDO) ? ((PWR->CSR1 & PWR_CSR1_PVDO) == PWR_CSR1_PVDO) :\
((__FLAG__) == PWR_FLAG_AVDO) ? ((PWR->CSR1 & PWR_CSR1_AVDO) == PWR_CSR1_AVDO) :\
((__FLAG__) == PWR_FLAG_ACTVOSRDY) ? ((PWR->CSR1 & PWR_CSR1_ACTVOSRDY) == PWR_CSR1_ACTVOSRDY) :\
((__FLAG__) == PWR_FLAG_BRR) ? ((PWR->CR2 & PWR_CR2_BRRDY) == PWR_CR2_BRRDY) :\
((__FLAG__) == PWR_FLAG_VOSRDY) ? ((PWR->SRDCR & PWR_SRDCR_VOSRDY) == PWR_SRDCR_VOSRDY) :\
((__FLAG__) == PWR_FLAG_SCUEN) ? ((PWR->CR3 & PWR_CR3_SCUEN) == PWR_CR3_SCUEN) :\
((__FLAG__) == PWR_FLAG_STOP) ? ((PWR->CPUCR & PWR_CPUCR_STOPF) == PWR_CPUCR_STOPF) :\
((__FLAG__) == PWR_FLAG_SB) ? ((PWR->CPUCR & PWR_CPUCR_SBF) == PWR_CPUCR_SBF) :\
((__FLAG__) == PWR_FLAG_MMCVDO) ? ((PWR->CSR1 & PWR_CSR1_MMCVDO) == PWR_CSR1_MMCVDO) :\
((__FLAG__) == PWR_FLAG_USB33RDY) ? ((PWR->CR3 & PWR_CR3_USB33RDY) == PWR_CR3_USB33RDY) :\
((__FLAG__) == PWR_FLAG_TEMPH) ? ((PWR->CR2 & PWR_CR2_TEMPH) == PWR_CR2_TEMPH) :\
((__FLAG__) == PWR_FLAG_TEMPL) ? ((PWR->CR2 & PWR_CR2_TEMPL) == PWR_CR2_TEMPL) :\
((__FLAG__) == PWR_FLAG_VBATH) ? ((PWR->CR2 & PWR_CR2_VBATH) == PWR_CR2_VBATH) :\

Check PWR flags are set or not.

Parameters
<strong>FLAG</strong>: Specifies the flag to check. This parameter can be one of the following values:
  • PWR_FLAG_PVDO : PVD Output. This flag is valid only if PVD is enabled by the HAL_PWR_EnablePVD() function. The PVD is stopped by STANDBY mode. For this reason, this bit is equal to 0 after STANDBY or reset until the PVDE bit is set.
  • PWR_FLAG_AVDO : AVD Output. This flag is valid only if AVD is enabled by the HAL_PWREx_EnableAVD() function. The AVD is stopped by STANDBY mode. For this reason, this bit is equal to 0 after STANDBY or reset until the AVDE bit is set.
  • PWR_FLAG_ACTVOSRDY : This flag indicates that the Regulator voltage scaling output selection is ready.
  • PWR_FLAG_BRR : Backup regulator ready flag. This bit is not reset when the device wakes up from STANDBY mode or by a system reset or power-on reset.
  • PWR_FLAG_VOSRDY : This flag indicates that the Regulator voltage scaling output selection is ready. mode or by a system reset or power-on reset.
  • PWR_FLAG_USB33RDY : This flag indicates that the USB supply from regulator is ready.
  • PWR_FLAG_TEMPH : This flag indicates that the temperature equal or above high threshold level.
  • PWR_FLAG_TEMPL : This flag indicates that the temperature equal or below low threshold level.
  • PWR_FLAG_VBATH : This flag indicates that VBAT level equal or above high threshold level.
  • PWR_FLAG_VBATL : This flag indicates that VBAT level equal or below low threshold level.
  • PWR_FLAG_STOP : This flag indicates that the system entered in STOP mode.
  • PWR_FLAG_SB : This flag indicates that the system entered in STANDBY mode.
  • PWR_FLAG_SB_D1 : This flag indicates that the D1 domain entered in STANDBY mode.
  • PWR_FLAG_SB_D2 : This flag indicates that the D2 domain entered in STANDBY mode.
  • PWR_FLAG2_STOP : This flag indicates that the system entered in STOP mode.
  • PWR_FLAG2_SB : This flag indicates that the system entered in STANDBY mode.
  • PWR_FLAG2_SB_D1 : This flag indicates that the D1 domain entered in STANDBY mode.
  • PWR_FLAG2_SB_D2 : This flag indicates that the D2 domain entered in STANDBY mode.
  • PWR_FLAG_CPU_HOLD : This flag indicates that the CPU1 wakes up with hold.
  • PWR_FLAG_CPU2_HOLD : This flag indicates that the CPU2 wakes up with hold.
  • PWR_FLAG_SMPSEXTRDY : This flag indicates that the SMPS External supply is sready.
  • PWR_FLAG_SCUEN : This flag indicates that the supply configuration update is enabled.
  • PWR_FLAG_MMCVDO : This flag indicates that the VDDMMC is above or equal to 1.2 V.
Note
The PWR_FLAG_PVDO, PWR_FLAG_AVDO, PWR_FLAG_ACTVOSRDY, PWR_FLAG_BRR, PWR_FLAG_VOSRDY, PWR_FLAG_USB33RDY, PWR_FLAG_TEMPH, PWR_FLAG_TEMPL, PWR_FLAG_VBATH, PWR_FLAG_VBATL, PWR_FLAG_STOP and PWR_FLAG_SB flags are used for all H7 family lines. The PWR_FLAG2_STOP, PWR_FLAG2_SB, PWR_FLAG2_SB_D1, PWR_FLAG2_SB_D2, PWR_FLAG_CPU_HOLD and PWR_FLAG_CPU2_HOLD flags are used only for H7 dual core lines. The PWR_FLAG_SB_D1 and PWR_FLAG_SB_D2 flags are used for all H7 family except STM32H7Axxx and STM32H7Bxxx lines. The PWR_FLAG_MMCVDO flag is used only for STM32H7Axxx and STM32H7Bxxx lines. The PWR_FLAG_SCUEN flag is used for devices that support only LDO regulator. The PWR_FLAG_SMPSEXTRDY flag is used for devices that support LDO and SMPS regulators.
Return values
The(FLAG) state (TRUE or FALSE).

Definition at line 456 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_GET_WAKEUPFLAG [1/2]

#define __HAL_PWR_GET_WAKEUPFLAG (   __FLAG__)    ((PWR->WKUPFR & (__FLAG__)) ? 0 : 1)

Check PWR wake up flags are set or not.

Parameters
<strong>FLAG</strong>specifies the wake up flag to check. This parameter can be one of the following values:
  • PWR_FLAG_WKUP1 : This parameter clear Wake up line 1 flag.
  • PWR_FLAG_WKUP2 : This parameter clear Wake up line 2 flag.
  • PWR_FLAG_WKUP3 : This parameter clear Wake up line 3 flag.
  • PWR_FLAG_WKUP4 : This parameter clear Wake up line 4 flag.
  • PWR_FLAG_WKUP5 : This parameter clear Wake up line 5 flag.
  • PWR_FLAG_WKUP6 : This parameter clear Wake up line 6 flag.
Note
The PWR_FLAG_WKUP3 and PWR_FLAG_WKUP5 are available only for devices that support GPIOI port.
Return values
The(FLAG) state (TRUE or FALSE).

Definition at line 488 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_GET_WAKEUPFLAG [2/2]

#define __HAL_PWR_GET_WAKEUPFLAG (   __FLAG__)    ((PWR->WKUPFR & (__FLAG__)) ? 0 : 1)

Check PWR wake up flags are set or not.

Parameters
<strong>FLAG</strong>specifies the wake up flag to check. This parameter can be one of the following values:
  • PWR_FLAG_WKUP1 : This parameter clear Wake up line 1 flag.
  • PWR_FLAG_WKUP2 : This parameter clear Wake up line 2 flag.
  • PWR_FLAG_WKUP3 : This parameter clear Wake up line 3 flag.
  • PWR_FLAG_WKUP4 : This parameter clear Wake up line 4 flag.
  • PWR_FLAG_WKUP5 : This parameter clear Wake up line 5 flag.
  • PWR_FLAG_WKUP6 : This parameter clear Wake up line 6 flag.
Note
The PWR_FLAG_WKUP3 and PWR_FLAG_WKUP5 are available only for devices that support GPIOI port.
Return values
The(FLAG) state (TRUE or FALSE).

Definition at line 488 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_CLEAR_FLAG [1/6]

#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG ( )    (EXTI->PR = (PWR_EXTI_LINE_PVD))

Clear the PVD Exti flag.

Return values
None.

Definition at line 260 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_CLEAR_FLAG [2/6]

#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG ( )    (EXTI->PR = (PWR_EXTI_LINE_PVD))

Clear the PVD Exti flag.

Return values
None.

Definition at line 260 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_CLEAR_FLAG [3/6]

#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG ( )    (EXTI->PR = (PWR_EXTI_LINE_PVD))

Clear the PVD Exti flag.

Return values
None.

Definition at line 260 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_CLEAR_FLAG [4/6]

#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG ( )    (EXTI->PR = (PWR_EXTI_LINE_PVD))

Clear the PVD Exti flag.

Return values
None.

Definition at line 272 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_CLEAR_FLAG [5/6]

#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG ( )    SET_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD)

Clear the PVD EXTI flag.

Return values
None.

Definition at line 653 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_CLEAR_FLAG [6/6]

#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG ( )    SET_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD)

Clear the PVD EXTI flag.

Return values
None.

Definition at line 653 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_EVENT [1/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT ( )    (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))

Disable event on PVD Exti Line 16.

Return values
None.

Definition at line 205 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_EVENT [2/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT ( )    (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))

Disable event on PVD Exti Line 16.

Return values
None.

Definition at line 205 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_EVENT [3/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT ( )    (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))

Disable event on PVD Exti Line 16.

Return values
None.

Definition at line 205 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_EVENT [4/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT ( )    (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD))

Disable event on PVD Exti Line 16.

Return values
None.

Definition at line 222 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_EVENT [5/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT ( )    CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)

Disable event on PVD EXTI Line 16.

Return values
None.

Definition at line 581 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_EVENT [6/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT ( )    CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)

Disable event on PVD EXTI Line 16.

Return values
None.

Definition at line 581 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE [1/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 230 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE [2/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 230 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE [3/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 230 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE [4/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 247 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE [5/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)

Disable the PVD Falling Interrupt Trigger.

Return values
None.

Definition at line 613 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE [6/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)

Disable the PVD Falling Interrupt Trigger.

Return values
None.

Definition at line 613 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_IT [1/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_IT ( )    (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))

Disable the PVD EXTI Line 16.

Return values
None.

Definition at line 193 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_IT [2/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_IT ( )    (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))

Disable the PVD EXTI Line 16.

Return values
None.

Definition at line 193 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_IT [3/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_IT ( )    (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))

Disable the PVD EXTI Line 16.

Return values
None.

Definition at line 193 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_IT [4/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_IT ( )    (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD))

Disable the PVD EXTI Line 16.

Return values
None.

Definition at line 210 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_IT [5/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_IT ( )    CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)

Disable the PVD EXTI Line 16.

Return values
None.

Definition at line 553 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_IT [6/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_IT ( )    CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)

Disable the PVD EXTI Line 16.

Return values
None.

Definition at line 553 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE [1/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 217 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE [2/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 217 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE [3/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 217 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE [4/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Disable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 234 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE [5/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)

Disable the PVD Rising Interrupt Trigger.

Return values
None.

Definition at line 601 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE [6/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)

Disable the PVD Rising Interrupt Trigger.

Return values
None.

Definition at line 601 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE [1/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();\
}while(0U)

Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be:

Return values
None.

Definition at line 246 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE [2/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();\
}while(0U)

Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be:

Return values
None.

Definition at line 246 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE [3/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();\
}while(0U)

Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be:

Return values
None.

Definition at line 246 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE [4/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE ( )    __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();

Disable the PVD Extended Interrupt Rising & Falling Trigger.

Return values
None.

Definition at line 260 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE [5/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
do { \
__HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE(); \
__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE(); \
} while(0);

Disable the PVD Rising & Falling Interrupt Trigger.

Return values
None.

Definition at line 629 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE [6/6]

#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
do { \
__HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE(); \
__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE(); \
} while(0);

Disable the PVD Rising & Falling Interrupt Trigger.

Return values
None.

Definition at line 629 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_EVENT [1/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT ( )    (EXTI->EMR |= (PWR_EXTI_LINE_PVD))

Enable event on PVD Exti Line 16.

Return values
None.

Definition at line 199 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_EVENT [2/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT ( )    (EXTI->EMR |= (PWR_EXTI_LINE_PVD))

Enable event on PVD Exti Line 16.

Return values
None.

Definition at line 199 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_EVENT [3/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT ( )    (EXTI->EMR |= (PWR_EXTI_LINE_PVD))

Enable event on PVD Exti Line 16.

Return values
None.

Definition at line 199 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_EVENT [4/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT ( )    (EXTI->EMR |= (PWR_EXTI_LINE_PVD))

Enable event on PVD Exti Line 16.

Return values
None.

Definition at line 216 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_EVENT [5/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT ( )    SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)

Enable event on PVD EXTI Line 16.

Return values
None.

Definition at line 567 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_EVENT [6/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT ( )    SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD)

Enable event on PVD EXTI Line 16.

Return values
None.

Definition at line 567 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE [1/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 223 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE [2/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 223 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE [3/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 223 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE [4/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Falling Trigger.

Return values
None.

Definition at line 240 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE [5/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)

Enable the PVD Falling Interrupt Trigger.

Return values
None.

Definition at line 607 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE [6/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD)

Enable the PVD Falling Interrupt Trigger.

Return values
None.

Definition at line 607 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_IT [1/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_IT ( )    (EXTI->IMR |= (PWR_EXTI_LINE_PVD))

Enable the PVD Exti Line 16.

Return values
None.

Definition at line 187 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_IT [2/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_IT ( )    (EXTI->IMR |= (PWR_EXTI_LINE_PVD))

Enable the PVD Exti Line 16.

Return values
None.

Definition at line 187 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_IT [3/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_IT ( )    (EXTI->IMR |= (PWR_EXTI_LINE_PVD))

Enable the PVD Exti Line 16.

Return values
None.

Definition at line 187 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_IT [4/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_IT ( )    (EXTI->IMR |= (PWR_EXTI_LINE_PVD))

Enable the PVD Exti Line 16.

Return values
None.

Definition at line 204 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_IT [5/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_IT ( )    SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)

Enable the PVD EXTI Line 16.

Return values
None.

Definition at line 539 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_IT [6/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_IT ( )    SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD)

Enable the PVD EXTI Line 16.

Return values
None.

Definition at line 539 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE [1/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 211 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE [2/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 211 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE [3/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 211 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE [4/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD)

Enable the PVD Extended Interrupt Rising Trigger.

Return values
None.

Definition at line 228 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE [5/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)

Enable the PVD Rising Interrupt Trigger.

Return values
None.

Definition at line 595 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE [6/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD)

Enable the PVD Rising Interrupt Trigger.

Return values
None.

Definition at line 595 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE [1/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();\
}while(0U)

PVD EXTI line configuration: set rising & falling edge trigger.

Return values
None.

Definition at line 237 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE [2/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();\
}while(0U)

PVD EXTI line configuration: set rising & falling edge trigger.

Return values
None.

Definition at line 237 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE [3/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();\
}while(0U)

PVD EXTI line configuration: set rising & falling edge trigger.

Return values
None.

Definition at line 237 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE [4/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE ( )    __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();

PVD EXTI line configuration: set rising & falling edge trigger.

Return values
None.

Definition at line 254 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE [5/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
do { \
__HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE(); \
__HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE(); \
} while(0);

Enable the PVD Rising & Falling Interrupt Trigger.

Return values
None.

Definition at line 619 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE [6/6]

#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
do { \
__HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE(); \
__HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE(); \
} while(0);

Enable the PVD Rising & Falling Interrupt Trigger.

Return values
None.

Definition at line 619 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GENERATE_SWIT [1/6]

#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT ( )    (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))

Generates a Software interrupt on PVD EXTI line.

Return values
None

Definition at line 266 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GENERATE_SWIT [2/6]

#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT ( )    (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))

Generates a Software interrupt on PVD EXTI line.

Return values
None

Definition at line 266 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GENERATE_SWIT [3/6]

#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT ( )    (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))

Generates a Software interrupt on PVD EXTI line.

Return values
None

Definition at line 266 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GENERATE_SWIT [4/6]

#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT ( )    (EXTI->SWIER |= (PWR_EXTI_LINE_PVD))

Generates a Software interrupt on PVD EXTI line.

Return values
None

Definition at line 278 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GENERATE_SWIT [5/6]

#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT ( )    SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD)

Generates a Software interrupt on PVD EXTI line.

Return values
None.

Definition at line 667 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GENERATE_SWIT [6/6]

#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT ( )    SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD)

Generates a Software interrupt on PVD EXTI line.

Return values
None.

Definition at line 667 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GET_FLAG [1/6]

#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.

Return values
EXTIPVD Line Status.

Definition at line 254 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GET_FLAG [2/6]

#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.

Return values
EXTIPVD Line Status.

Definition at line 254 of file stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GET_FLAG [3/6]

#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.

Return values
EXTIPVD Line Status.

Definition at line 254 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GET_FLAG [4/6]

#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.

Return values
EXTIPVD Line Status.

Definition at line 266 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GET_FLAG [5/6]

#define __HAL_PWR_PVD_EXTI_GET_FLAG ( )    ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) == PWR_EXTI_LINE_PVD) ? 1UL : 0UL)

Check whether the specified PVD EXTI interrupt flag is set or not.

Return values
EXTIPVD Line Status.

Definition at line 639 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_PVD_EXTI_GET_FLAG [6/6]

#define __HAL_PWR_PVD_EXTI_GET_FLAG ( )    ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) == PWR_EXTI_LINE_PVD) ? 1UL : 0UL)

Check whether the specified PVD EXTI interrupt flag is set or not.

Return values
EXTIPVD Line Status.

Definition at line 639 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_VOLTAGESCALING_CONFIG [1/3]

#define __HAL_PWR_VOLTAGESCALING_CONFIG (   __REGULATOR__)
Value:
do { \
__IO uint32_t tmpreg; \
MODIFY_REG(PWR->CR1, PWR_CR1_VOS, (__REGULATOR__)); \
/* Delay after an RCC peripheral clock enabling */ \
tmpreg = READ_BIT(PWR->CR1, PWR_CR1_VOS); \
UNUSED(tmpreg); \
} while(0)

macros configure the main internal regulator output voltage.

Parameters
<strong>REGULATOR</strong>specifies the regulator output voltage to achieve a tradeoff between performance and power consumption when the device does not operate at the maximum frequency (refer to the datasheets for more details). This parameter can be one of the following values:
  • PWR_REGULATOR_VOLTAGE_SCALE1: Regulator voltage output Scale 1 mode
  • PWR_REGULATOR_VOLTAGE_SCALE2: Regulator voltage output Scale 2 mode
  • PWR_REGULATOR_VOLTAGE_SCALE3: Regulator voltage output Scale 3 mode
Return values
None

Definition at line 164 of file stm32f7xx_hal_pwr.h.

◆ __HAL_PWR_VOLTAGESCALING_CONFIG [2/3]

#define __HAL_PWR_VOLTAGESCALING_CONFIG (   __REGULATOR__)
Value:
do { \
__IO uint32_t tmpreg = 0x00; \
/* Configure the Voltage Scaling */ \
MODIFY_REG (PWR->D3CR, PWR_D3CR_VOS, (__REGULATOR__)); \
/* Delay after setting the voltage scaling */ \
tmpreg = READ_BIT(PWR->D3CR, PWR_D3CR_VOS); \
UNUSED(tmpreg); \
} while(0)

Configure the main internal regulator output voltage.

Parameters
<strong>REGULATOR</strong>: Specifies the regulator output voltage to achieve a trade-off between performance and power consumption when the device does not operate at the maximum frequency (refer to the datasheet for more details). This parameter can be one of the following values:
  • PWR_REGULATOR_VOLTAGE_SCALE0 : Regulator voltage output Scale 0 mode.
  • PWR_REGULATOR_VOLTAGE_SCALE1 : Regulator voltage output Scale 1 mode.
  • PWR_REGULATOR_VOLTAGE_SCALE2 : Regulator voltage output Scale 2 mode.
  • PWR_REGULATOR_VOLTAGE_SCALE3 : Regulator voltage output Scale 3 mode.
Note
For STM32H74x and STM32H75x lines, configuring Voltage Scale 0 is only possible when Vcore is supplied from LDO (Low DropOut). The SYSCFG Clock must be enabled through __HAL_RCC_SYSCFG_CLK_ENABLE() macro before configuring Voltage Scale 0 using __HAL_PWR_VOLTAGESCALING_CONFIG(). Transition to Voltage Scale 0 is only possible when the system is already in Voltage Scale 1. Transition from Voltage Scale 0 is only possible to Voltage Scale 1 then once in Voltage Scale 1 it is possible to switch to another voltage scale. After each regulator voltage setting, wait on VOSRDY flag to be set using macro __HAL_PWR_GET_FLAG(). To enter low power mode , and if current regulator voltage is Voltage Scale 0 then first switch to Voltage Scale 1 before entering low power mode.
Return values
None.

Definition at line 289 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

◆ __HAL_PWR_VOLTAGESCALING_CONFIG [3/3]

#define __HAL_PWR_VOLTAGESCALING_CONFIG (   __REGULATOR__)
Value:
do { \
__IO uint32_t tmpreg = 0x00; \
/* Configure the Voltage Scaling */ \
MODIFY_REG (PWR->D3CR, PWR_D3CR_VOS, (__REGULATOR__)); \
/* Delay after setting the voltage scaling */ \
tmpreg = READ_BIT(PWR->D3CR, PWR_D3CR_VOS); \
UNUSED(tmpreg); \
} while(0)

Configure the main internal regulator output voltage.

Parameters
<strong>REGULATOR</strong>: Specifies the regulator output voltage to achieve a trade-off between performance and power consumption when the device does not operate at the maximum frequency (refer to the datasheet for more details). This parameter can be one of the following values:
  • PWR_REGULATOR_VOLTAGE_SCALE0 : Regulator voltage output Scale 0 mode.
  • PWR_REGULATOR_VOLTAGE_SCALE1 : Regulator voltage output Scale 1 mode.
  • PWR_REGULATOR_VOLTAGE_SCALE2 : Regulator voltage output Scale 2 mode.
  • PWR_REGULATOR_VOLTAGE_SCALE3 : Regulator voltage output Scale 3 mode.
Note
For STM32H74x and STM32H75x lines, configuring Voltage Scale 0 is only possible when Vcore is supplied from LDO (Low DropOut). The SYSCFG Clock must be enabled through __HAL_RCC_SYSCFG_CLK_ENABLE() macro before configuring Voltage Scale 0 using __HAL_PWR_VOLTAGESCALING_CONFIG(). Transition to Voltage Scale 0 is only possible when the system is already in Voltage Scale 1. Transition from Voltage Scale 0 is only possible to Voltage Scale 1 then once in Voltage Scale 1 it is possible to switch to another voltage scale. After each regulator voltage setting, wait on VOSRDY flag to be set using macro __HAL_PWR_GET_FLAG(). To enter low power mode , and if current regulator voltage is Voltage Scale 0 then first switch to Voltage Scale 1 before entering low power mode.
Return values
None.

Definition at line 289 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h.

PWR_FLAG_BRR
#define PWR_FLAG_BRR
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:174
PWR_FLAG_SB
#define PWR_FLAG_SB
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:161
PWR_CR2_BRRDY
#define PWR_CR2_BRRDY
Definition: stm32h735xx.h:14623
PWR
#define PWR
Definition: stm32f407xx.h:1083
PWR_FLAG_STOP
#define PWR_FLAG_STOP
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:156
PWR_CSR1_ACTVOSRDY
#define PWR_CSR1_ACTVOSRDY
Definition: stm32h735xx.h:14603
PWR_CR3_USB33RDY
#define PWR_CR3_USB33RDY
Definition: stm32h735xx.h:14634
PWR_D3CR_VOS
#define PWR_D3CR_VOS
Definition: stm32h735xx.h:14701
PWR_FLAG_VOSRDY
#define PWR_FLAG_VOSRDY
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:175
PWR_CR1_VOS
#define PWR_CR1_VOS
Definition: stm32f769xx.h:10488
__HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()
Enable the PVD Extended Interrupt Rising Trigger.
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:211
PWR_CSR1_AVDO
#define PWR_CSR1_AVDO
Definition: stm32h735xx.h:14595
PWR_FLAG_SCUEN
#define PWR_FLAG_SCUEN
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:179
PWR_CPUCR_STOPF
#define PWR_CPUCR_STOPF
Definition: stm32h735xx.h:14686
PWR_CPUCR_SBF
#define PWR_CPUCR_SBF
Definition: stm32h735xx.h:14683
PWR_FLAG_TEMPL
#define PWR_FLAG_TEMPL
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:186
PWR_FLAG_TEMPH
#define PWR_FLAG_TEMPH
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:185
PWR_CR2_VBATL
#define PWR_CR2_VBATL
Definition: stm32h735xx.h:14620
READ_BIT
#define READ_BIT(REG, BIT)
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:216
__HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()
Disable the PVD Extended Interrupt Rising Trigger.
Definition: stm32f469/stm32f469i-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:217
PWR_CR2_TEMPL
#define PWR_CR2_TEMPL
Definition: stm32h735xx.h:14614
PWR_FLAG_PVDO
#define PWR_FLAG_PVDO
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:170
PWR_FLAG_ACTVOSRDY
#define PWR_FLAG_ACTVOSRDY
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:172
PWR_FLAG_VBATH
#define PWR_FLAG_VBATH
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:187
PWR_CR2_TEMPH
#define PWR_CR2_TEMPH
Definition: stm32h735xx.h:14611
PWR_CR2_VBATH
#define PWR_CR2_VBATH
Definition: stm32h735xx.h:14617
PWR_FLAG_USB33RDY
#define PWR_FLAG_USB33RDY
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:184
PWR_CSR1_PVDO
#define PWR_CSR1_PVDO
Definition: stm32f769xx.h:10512
PWR_FLAG_AVDO
#define PWR_FLAG_AVDO
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr.h:171


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:06