Prusa MINI Firmware overview
PWREx Private macros to check input parameters
Collaboration diagram for PWREx Private macros to check input parameters:

Macros

#define IS_PWR_VOLTAGE_SCALING_RANGE(VOLTAGE)
 
#define IS_PWR_WAKEUP_PIN(PIN)   ((PIN) == PWR_WAKEUP_PIN1)
 

Detailed Description

Macro Definition Documentation

◆ IS_PWR_VOLTAGE_SCALING_RANGE

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

◆ IS_PWR_WAKEUP_PIN

#define IS_PWR_WAKEUP_PIN (   PIN)    ((PIN) == PWR_WAKEUP_PIN1)
PWR_REGULATOR_VOLTAGE_SCALE2
#define PWR_REGULATOR_VOLTAGE_SCALE2
Definition: stm32f4xx_hal_pwr_ex.h:92
PWR_REGULATOR_VOLTAGE_SCALE3
#define PWR_REGULATOR_VOLTAGE_SCALE3
Definition: stm32f4xx_hal_pwr_ex.h:94
PWR_REGULATOR_VOLTAGE_SCALE1
#define PWR_REGULATOR_VOLTAGE_SCALE1
Definition: stm32f4xx_hal_pwr_ex.h:90