DIY Logging Volt/Ampmeter
PWR Private Macros

Macros

#define IS_PWR_PVD_LEVEL(LEVEL)
 
#define IS_PWR_PVD_MODE(MODE)
 
#define IS_PWR_WAKEUP_PIN(PIN)   (((PIN) == PWR_WAKEUP_PIN1))
 
#define IS_PWR_REGULATOR(REGULATOR)
 
#define IS_PWR_SLEEP_ENTRY(ENTRY)   (((ENTRY) == PWR_SLEEPENTRY_WFI) || ((ENTRY) == PWR_SLEEPENTRY_WFE))
 
#define IS_PWR_STOP_ENTRY(ENTRY)   (((ENTRY) == PWR_STOPENTRY_WFI) || ((ENTRY) == PWR_STOPENTRY_WFE))
 

Detailed Description

Macro Definition Documentation

◆ IS_PWR_PVD_LEVEL

#define IS_PWR_PVD_LEVEL (   LEVEL)
Value:
(((LEVEL) == PWR_PVDLEVEL_0) || ((LEVEL) == PWR_PVDLEVEL_1)|| \
((LEVEL) == PWR_PVDLEVEL_2) || ((LEVEL) == PWR_PVDLEVEL_3)|| \
((LEVEL) == PWR_PVDLEVEL_4) || ((LEVEL) == PWR_PVDLEVEL_5)|| \
((LEVEL) == PWR_PVDLEVEL_6) || ((LEVEL) == PWR_PVDLEVEL_7))

Definition at line 292 of file stm32f1xx_hal_pwr.h.

◆ IS_PWR_PVD_MODE

#define IS_PWR_PVD_MODE (   MODE)
Value:

Definition at line 298 of file stm32f1xx_hal_pwr.h.

◆ IS_PWR_REGULATOR

#define IS_PWR_REGULATOR (   REGULATOR)
Value:
(((REGULATOR) == PWR_MAINREGULATOR_ON) || \
((REGULATOR) == PWR_LOWPOWERREGULATOR_ON))

Definition at line 305 of file stm32f1xx_hal_pwr.h.

◆ IS_PWR_SLEEP_ENTRY

#define IS_PWR_SLEEP_ENTRY (   ENTRY)    (((ENTRY) == PWR_SLEEPENTRY_WFI) || ((ENTRY) == PWR_SLEEPENTRY_WFE))

Definition at line 308 of file stm32f1xx_hal_pwr.h.

◆ IS_PWR_STOP_ENTRY

#define IS_PWR_STOP_ENTRY (   ENTRY)    (((ENTRY) == PWR_STOPENTRY_WFI) || ((ENTRY) == PWR_STOPENTRY_WFE))

Definition at line 310 of file stm32f1xx_hal_pwr.h.

◆ IS_PWR_WAKEUP_PIN

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

Definition at line 303 of file stm32f1xx_hal_pwr.h.

PWR_PVD_MODE_EVENT_RISING
#define PWR_PVD_MODE_EVENT_RISING
Definition: stm32f1xx_hal_pwr.h:105
PWR_MAINREGULATOR_ON
#define PWR_MAINREGULATOR_ON
Definition: stm32f1xx_hal_pwr.h:127
PWR_PVDLEVEL_6
#define PWR_PVDLEVEL_6
Definition: stm32f1xx_hal_pwr.h:91
PWR_PVDLEVEL_3
#define PWR_PVDLEVEL_3
Definition: stm32f1xx_hal_pwr.h:88
PWR_PVD_MODE_NORMAL
#define PWR_PVD_MODE_NORMAL
Definition: stm32f1xx_hal_pwr.h:101
PWR_PVDLEVEL_7
#define PWR_PVDLEVEL_7
Definition: stm32f1xx_hal_pwr.h:92
PWR_PVDLEVEL_1
#define PWR_PVDLEVEL_1
Definition: stm32f1xx_hal_pwr.h:86
PWR_PVDLEVEL_4
#define PWR_PVDLEVEL_4
Definition: stm32f1xx_hal_pwr.h:89
PWR_PVD_MODE_EVENT_FALLING
#define PWR_PVD_MODE_EVENT_FALLING
Definition: stm32f1xx_hal_pwr.h:106
PWR_PVD_MODE_IT_RISING_FALLING
#define PWR_PVD_MODE_IT_RISING_FALLING
Definition: stm32f1xx_hal_pwr.h:104
PWR_LOWPOWERREGULATOR_ON
#define PWR_LOWPOWERREGULATOR_ON
Definition: stm32f1xx_hal_pwr.h:128
PWR_PVD_MODE_IT_RISING
#define PWR_PVD_MODE_IT_RISING
Definition: stm32f1xx_hal_pwr.h:102
PWR_PVDLEVEL_5
#define PWR_PVDLEVEL_5
Definition: stm32f1xx_hal_pwr.h:90
PWR_PVD_MODE_EVENT_RISING_FALLING
#define PWR_PVD_MODE_EVENT_RISING_FALLING
Definition: stm32f1xx_hal_pwr.h:107
PWR_PVD_MODE_IT_FALLING
#define PWR_PVD_MODE_IT_FALLING
Definition: stm32f1xx_hal_pwr.h:103
PWR_PVDLEVEL_0
#define PWR_PVDLEVEL_0
Definition: stm32f1xx_hal_pwr.h:85
PWR_PVDLEVEL_2
#define PWR_PVDLEVEL_2
Definition: stm32f1xx_hal_pwr.h:87