STM32L486xx HAL User Manual
Defines
PWR Extended Exported Macros
PWREx

Defines

#define __HAL_PWR_PVM1_EXTI_ENABLE_IT()   SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM1)
 Enable the PVM1 Extended Interrupt Line.
#define __HAL_PWR_PVM1_EXTI_DISABLE_IT()   CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM1)
 Disable the PVM1 Extended Interrupt Line.
#define __HAL_PWR_PVM1_EXTI_ENABLE_EVENT()   SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM1)
 Enable the PVM1 Event Line.
#define __HAL_PWR_PVM1_EXTI_DISABLE_EVENT()   CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM1)
 Disable the PVM1 Event Line.
#define __HAL_PWR_PVM1_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM1)
 Enable the PVM1 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM1_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM1)
 Disable the PVM1 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM1_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM1)
 Enable the PVM1 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM1_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM1)
 Disable the PVM1 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM1_EXTI_ENABLE_RISING_FALLING_EDGE()
 PVM1 EXTI line configuration: set rising & falling edge trigger.
#define __HAL_PWR_PVM1_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVM1 Extended Interrupt Rising & Falling Trigger.
#define __HAL_PWR_PVM1_EXTI_GENERATE_SWIT()   SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM1)
 Generate a Software interrupt on selected EXTI line.
#define __HAL_PWR_PVM1_EXTI_GET_FLAG()   (EXTI->PR2 & PWR_EXTI_LINE_PVM1)
 Check whether the specified PVM1 EXTI interrupt flag is set or not.
#define __HAL_PWR_PVM1_EXTI_CLEAR_FLAG()   WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM1)
 Clear the PVM1 EXTI flag.
#define __HAL_PWR_PVM2_EXTI_ENABLE_IT()   SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM2)
 Enable the PVM2 Extended Interrupt Line.
#define __HAL_PWR_PVM2_EXTI_DISABLE_IT()   CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM2)
 Disable the PVM2 Extended Interrupt Line.
#define __HAL_PWR_PVM2_EXTI_ENABLE_EVENT()   SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM2)
 Enable the PVM2 Event Line.
#define __HAL_PWR_PVM2_EXTI_DISABLE_EVENT()   CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM2)
 Disable the PVM2 Event Line.
#define __HAL_PWR_PVM2_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM2)
 Enable the PVM2 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM2_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM2)
 Disable the PVM2 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM2_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM2)
 Enable the PVM2 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM2_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM2)
 Disable the PVM2 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM2_EXTI_ENABLE_RISING_FALLING_EDGE()
 PVM2 EXTI line configuration: set rising & falling edge trigger.
#define __HAL_PWR_PVM2_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVM2 Extended Interrupt Rising & Falling Trigger.
#define __HAL_PWR_PVM2_EXTI_GENERATE_SWIT()   SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM2)
 Generate a Software interrupt on selected EXTI line.
#define __HAL_PWR_PVM2_EXTI_GET_FLAG()   (EXTI->PR2 & PWR_EXTI_LINE_PVM2)
 Check whether the specified PVM2 EXTI interrupt flag is set or not.
#define __HAL_PWR_PVM2_EXTI_CLEAR_FLAG()   WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM2)
 Clear the PVM2 EXTI flag.
#define __HAL_PWR_PVM3_EXTI_ENABLE_IT()   SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM3)
 Enable the PVM3 Extended Interrupt Line.
#define __HAL_PWR_PVM3_EXTI_DISABLE_IT()   CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM3)
 Disable the PVM3 Extended Interrupt Line.
#define __HAL_PWR_PVM3_EXTI_ENABLE_EVENT()   SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM3)
 Enable the PVM3 Event Line.
#define __HAL_PWR_PVM3_EXTI_DISABLE_EVENT()   CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM3)
 Disable the PVM3 Event Line.
#define __HAL_PWR_PVM3_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM3)
 Enable the PVM3 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM3_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM3)
 Disable the PVM3 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM3_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM3)
 Enable the PVM3 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM3_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM3)
 Disable the PVM3 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM3_EXTI_ENABLE_RISING_FALLING_EDGE()
 PVM3 EXTI line configuration: set rising & falling edge trigger.
#define __HAL_PWR_PVM3_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVM3 Extended Interrupt Rising & Falling Trigger.
#define __HAL_PWR_PVM3_EXTI_GENERATE_SWIT()   SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM3)
 Generate a Software interrupt on selected EXTI line.
#define __HAL_PWR_PVM3_EXTI_GET_FLAG()   (EXTI->PR2 & PWR_EXTI_LINE_PVM3)
 Check whether the specified PVM3 EXTI interrupt flag is set or not.
#define __HAL_PWR_PVM3_EXTI_CLEAR_FLAG()   WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM3)
 Clear the PVM3 EXTI flag.
#define __HAL_PWR_PVM4_EXTI_ENABLE_IT()   SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM4)
 Enable the PVM4 Extended Interrupt Line.
#define __HAL_PWR_PVM4_EXTI_DISABLE_IT()   CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM4)
 Disable the PVM4 Extended Interrupt Line.
#define __HAL_PWR_PVM4_EXTI_ENABLE_EVENT()   SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM4)
 Enable the PVM4 Event Line.
#define __HAL_PWR_PVM4_EXTI_DISABLE_EVENT()   CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM4)
 Disable the PVM4 Event Line.
#define __HAL_PWR_PVM4_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM4)
 Enable the PVM4 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM4_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM4)
 Disable the PVM4 Extended Interrupt Rising Trigger.
#define __HAL_PWR_PVM4_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM4)
 Enable the PVM4 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM4_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM4)
 Disable the PVM4 Extended Interrupt Falling Trigger.
#define __HAL_PWR_PVM4_EXTI_ENABLE_RISING_FALLING_EDGE()
 PVM4 EXTI line configuration: set rising & falling edge trigger.
#define __HAL_PWR_PVM4_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the PVM4 Extended Interrupt Rising & Falling Trigger.
#define __HAL_PWR_PVM4_EXTI_GENERATE_SWIT()   SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM4)
 Generate a Software interrupt on selected EXTI line.
#define __HAL_PWR_PVM4_EXTI_GET_FLAG()   (EXTI->PR2 & PWR_EXTI_LINE_PVM4)
 Check whether or not the specified PVM4 EXTI interrupt flag is set.
#define __HAL_PWR_PVM4_EXTI_CLEAR_FLAG()   WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM4)
 Clear the PVM4 EXTI flag.
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
 Configure the main internal regulator output voltage.

Define Documentation

#define __HAL_PWR_PVM1_EXTI_CLEAR_FLAG ( )    WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM1)

Clear the PVM1 EXTI flag.

Return values:
None

Definition at line 394 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

#define __HAL_PWR_PVM1_EXTI_DISABLE_EVENT ( )    CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM1)

Disable the PVM1 Event Line.

Return values:
None

Definition at line 330 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM1_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM1)

Disable the PVM1 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 355 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM1_EXTI_DISABLE_IT ( )    CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM1)

Disable the PVM1 Extended Interrupt Line.

Return values:
None

Definition at line 318 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM1_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM1)

Disable the PVM1 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 342 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                     \
    __HAL_PWR_PVM1_EXTI_DISABLE_RISING_EDGE();             \
    __HAL_PWR_PVM1_EXTI_DISABLE_FALLING_EDGE();            \
  } while(0)

Disable the PVM1 Extended Interrupt Rising & Falling Trigger.

Return values:
None

Definition at line 372 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM1_EXTI_ENABLE_EVENT ( )    SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM1)

Enable the PVM1 Event Line.

Return values:
None

Definition at line 324 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM1_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM1)

Enable the PVM1 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 348 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM1_EXTI_ENABLE_IT ( )    SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM1)

Enable the PVM1 Extended Interrupt Line.

Return values:
None

Definition at line 312 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM1_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM1)

Enable the PVM1 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 336 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                    \
    __HAL_PWR_PVM1_EXTI_ENABLE_RISING_EDGE();             \
    __HAL_PWR_PVM1_EXTI_ENABLE_FALLING_EDGE();            \
  } while(0)

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

Return values:
None

Definition at line 362 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM1_EXTI_GENERATE_SWIT ( )    SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM1)

Generate a Software interrupt on selected EXTI line.

Return values:
None

Definition at line 382 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM1_EXTI_GET_FLAG ( )    (EXTI->PR2 & PWR_EXTI_LINE_PVM1)

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

Return values:
EXTIPVM1 Line Status.

Definition at line 388 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

#define __HAL_PWR_PVM2_EXTI_CLEAR_FLAG ( )    WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM2)

Clear the PVM2 EXTI flag.

Return values:
None

Definition at line 486 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

#define __HAL_PWR_PVM2_EXTI_DISABLE_EVENT ( )    CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM2)

Disable the PVM2 Event Line.

Return values:
None

Definition at line 422 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM2_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM2)

Disable the PVM2 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 447 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM2_EXTI_DISABLE_IT ( )    CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM2)

Disable the PVM2 Extended Interrupt Line.

Return values:
None

Definition at line 410 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM2_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM2)

Disable the PVM2 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 434 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                     \
    __HAL_PWR_PVM2_EXTI_DISABLE_RISING_EDGE();             \
    __HAL_PWR_PVM2_EXTI_DISABLE_FALLING_EDGE();            \
  } while(0)

Disable the PVM2 Extended Interrupt Rising & Falling Trigger.

Return values:
None

Definition at line 464 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM2_EXTI_ENABLE_EVENT ( )    SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM2)

Enable the PVM2 Event Line.

Return values:
None

Definition at line 416 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM2_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM2)

Enable the PVM2 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 440 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM2_EXTI_ENABLE_IT ( )    SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM2)

Enable the PVM2 Extended Interrupt Line.

Return values:
None

Definition at line 404 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM2_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM2)

Enable the PVM2 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 428 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                    \
    __HAL_PWR_PVM2_EXTI_ENABLE_RISING_EDGE();             \
    __HAL_PWR_PVM2_EXTI_ENABLE_FALLING_EDGE();            \
  } while(0)

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

Return values:
None

Definition at line 454 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM2_EXTI_GENERATE_SWIT ( )    SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM2)

Generate a Software interrupt on selected EXTI line.

Return values:
None

Definition at line 474 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM2_EXTI_GET_FLAG ( )    (EXTI->PR2 & PWR_EXTI_LINE_PVM2)

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

Return values:
EXTIPVM2 Line Status.

Definition at line 480 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

#define __HAL_PWR_PVM3_EXTI_CLEAR_FLAG ( )    WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM3)

Clear the PVM3 EXTI flag.

Return values:
None

Definition at line 577 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

#define __HAL_PWR_PVM3_EXTI_DISABLE_EVENT ( )    CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM3)

Disable the PVM3 Event Line.

Return values:
None

Definition at line 513 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM3_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM3)

Disable the PVM3 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 538 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM3_EXTI_DISABLE_IT ( )    CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM3)

Disable the PVM3 Extended Interrupt Line.

Return values:
None

Definition at line 501 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM3_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM3)

Disable the PVM3 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 525 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                     \
    __HAL_PWR_PVM3_EXTI_DISABLE_RISING_EDGE();             \
    __HAL_PWR_PVM3_EXTI_DISABLE_FALLING_EDGE();            \
  } while(0)

Disable the PVM3 Extended Interrupt Rising & Falling Trigger.

Return values:
None

Definition at line 555 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM3_EXTI_ENABLE_EVENT ( )    SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM3)

Enable the PVM3 Event Line.

Return values:
None

Definition at line 507 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM3_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM3)

Enable the PVM3 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 531 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM3_EXTI_ENABLE_IT ( )    SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM3)

Enable the PVM3 Extended Interrupt Line.

Return values:
None

Definition at line 495 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM3_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM3)

Enable the PVM3 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 519 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                    \
    __HAL_PWR_PVM3_EXTI_ENABLE_RISING_EDGE();             \
    __HAL_PWR_PVM3_EXTI_ENABLE_FALLING_EDGE();            \
  } while(0)

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

Return values:
None

Definition at line 545 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM3_EXTI_GENERATE_SWIT ( )    SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM3)

Generate a Software interrupt on selected EXTI line.

Return values:
None

Definition at line 565 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM3_EXTI_GET_FLAG ( )    (EXTI->PR2 & PWR_EXTI_LINE_PVM3)

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

Return values:
EXTIPVM3 Line Status.

Definition at line 571 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

#define __HAL_PWR_PVM4_EXTI_CLEAR_FLAG ( )    WRITE_REG(EXTI->PR2, PWR_EXTI_LINE_PVM4)

Clear the PVM4 EXTI flag.

Return values:
None

Definition at line 668 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

#define __HAL_PWR_PVM4_EXTI_DISABLE_EVENT ( )    CLEAR_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM4)

Disable the PVM4 Event Line.

Return values:
None

Definition at line 604 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM4_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM4)

Disable the PVM4 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 629 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM4_EXTI_DISABLE_IT ( )    CLEAR_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM4)

Disable the PVM4 Extended Interrupt Line.

Return values:
None

Definition at line 592 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM4_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM4)

Disable the PVM4 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 616 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                     \
    __HAL_PWR_PVM4_EXTI_DISABLE_RISING_EDGE();             \
    __HAL_PWR_PVM4_EXTI_DISABLE_FALLING_EDGE();            \
  } while(0)

Disable the PVM4 Extended Interrupt Rising & Falling Trigger.

Return values:
None

Definition at line 646 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM4_EXTI_ENABLE_EVENT ( )    SET_BIT(EXTI->EMR2, PWR_EVENT_LINE_PVM4)

Enable the PVM4 Event Line.

Return values:
None

Definition at line 598 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM4_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR2, PWR_EXTI_LINE_PVM4)

Enable the PVM4 Extended Interrupt Falling Trigger.

Return values:
None

Definition at line 622 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM4_EXTI_ENABLE_IT ( )    SET_BIT(EXTI->IMR2, PWR_EXTI_LINE_PVM4)

Enable the PVM4 Extended Interrupt Line.

Return values:
None

Definition at line 586 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

#define __HAL_PWR_PVM4_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR2, PWR_EXTI_LINE_PVM4)

Enable the PVM4 Extended Interrupt Rising Trigger.

Return values:
None

Definition at line 610 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ConfigPVM().

Value:
do {                                                    \
    __HAL_PWR_PVM4_EXTI_ENABLE_RISING_EDGE();             \
    __HAL_PWR_PVM4_EXTI_ENABLE_FALLING_EDGE();            \
  } while(0)

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

Return values:
None

Definition at line 636 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM4_EXTI_GENERATE_SWIT ( )    SET_BIT(EXTI->SWIER2, PWR_EXTI_LINE_PVM4)

Generate a Software interrupt on selected EXTI line.

Return values:
None

Definition at line 656 of file stm32l4xx_hal_pwr_ex.h.

#define __HAL_PWR_PVM4_EXTI_GET_FLAG ( )    (EXTI->PR2 & PWR_EXTI_LINE_PVM4)

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

Return values:
EXTIPVM4 Line Status.

Definition at line 662 of file stm32l4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_PVD_PVM_IRQHandler().

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

Configure the main internal regulator output voltage.

Parameters:
__REGULATOR__,:specifies the regulator output voltage to achieve a tradeoff between performance and power consumption. This parameter can be one of the following values:
Note:
This macro is similar to HAL_PWREx_ControlVoltageScaling() API but doesn't check whether or not VOSF flag is cleared when moving from range 2 to range 1. User may resort to __HAL_PWR_GET_FLAG() macro to check VOSF bit resetting.
Return values:
None

Definition at line 687 of file stm32l4xx_hal_pwr_ex.h.