Nut/OS  5.0.5
API Reference
Regulator_state_is_STOP_mode

Defines

#define PWR_Regulator_ON   ((uint32_t)0x00000000)
#define PWR_Regulator_LowPower   ((uint32_t)0x00000001)
#define IS_PWR_REGULATOR(REGULATOR)

Define Documentation

#define PWR_Regulator_ON   ((uint32_t)0x00000000)
#define PWR_Regulator_LowPower   ((uint32_t)0x00000001)
#define IS_PWR_REGULATOR (   REGULATOR)
Value:
(((REGULATOR) == PWR_Regulator_ON) || \
                                     ((REGULATOR) == PWR_Regulator_LowPower))