STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
PWREx Private macros to check input parameters
Collaboration diagram for PWREx Private macros to check input parameters:

Macros

#define IS_PWR_REGULATOR_UNDERDRIVE(REGULATOR)
 
#define IS_PWR_VOLTAGE_SCALING_RANGE(VOLTAGE)
 
#define IS_PWR_WAKEUP_PIN(PIN)
 

Detailed Description

Macro Definition Documentation

◆ IS_PWR_REGULATOR_UNDERDRIVE

#define IS_PWR_REGULATOR_UNDERDRIVE ( REGULATOR)

#include <stm32f4xx_hal_pwr_ex.h>

Value:
(((REGULATOR) == PWR_MAINREGULATOR_UNDERDRIVE_ON) || \
#define PWR_LOWPOWERREGULATOR_UNDERDRIVE_ON
#define PWR_MAINREGULATOR_UNDERDRIVE_ON

Definition at line 294 of file stm32f4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_EnterUnderDriveSTOPMode().

◆ IS_PWR_VOLTAGE_SCALING_RANGE

#define IS_PWR_VOLTAGE_SCALING_RANGE ( VOLTAGE)

#include <stm32f4xx_hal_pwr_ex.h>

Value:
(((VOLTAGE) == PWR_REGULATOR_VOLTAGE_SCALE1) || \
((VOLTAGE) == PWR_REGULATOR_VOLTAGE_SCALE2) || \
#define PWR_REGULATOR_VOLTAGE_SCALE1
#define PWR_REGULATOR_VOLTAGE_SCALE2
#define PWR_REGULATOR_VOLTAGE_SCALE3

Definition at line 302 of file stm32f4xx_hal_pwr_ex.h.

Referenced by HAL_PWREx_ControlVoltageScaling().

◆ IS_PWR_WAKEUP_PIN

#define IS_PWR_WAKEUP_PIN ( PIN)

#include <stm32f4xx_hal_pwr_ex.h>

Value:
(((PIN) == PWR_WAKEUP_PIN1) || ((PIN) == PWR_WAKEUP_PIN2))
#define PWR_WAKEUP_PIN2
#define PWR_WAKEUP_PIN1

Definition at line 308 of file stm32f4xx_hal_pwr_ex.h.

Referenced by HAL_PWR_DisableWakeUpPin(), and HAL_PWR_EnableWakeUpPin().