Power Management (PM) CPU specific definitions for the STM32 family. More...
Power Management (PM) CPU specific definitions for the STM32 family.
Definition in file cpu_pm.h.
Go to the source code of this file.
Macros | |
#define | PM_EWUP_CONFIG (0U) |
Wake-up pins configuration (CSR register) | |
Functions | |
bool | pm_backup_regulator_is_on (void) |
Check whether the backup domain voltage regulator is on. | |
void | pm_backup_regulator_on (void) |
Enable the backup domain voltage regulator to retain backup register content during standby and VBAT mode. | |
void | pm_backup_regulator_off (void) |
Disable the backup domain voltage regulator. | |
PM definitions | |
#define | PM_NUM_MODES (3U) |
Number of usable low power modes. | |
Power modes | |
#define | STM32_PM_IDLE (2U) |
Index of IDLE mode. | |
#define | STM32_PM_STOP (1U) |
Index of STOP mode. | |
#define | STM32_PM_STANDBY (0U) |
Index of STANDBY mode. | |