Power Management (PM) CPU specific definitions for the STM32 family.
More...
Power Management (PM) CPU specific definitions for the STM32 family.
- Author
- Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
-
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m
Definition in file cpu_pm.h.
Go to the source code of this file.
|
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_EWUP_CONFIG
#define PM_EWUP_CONFIG (0U) |
Wake-up pins configuration (CSR register)
Definition at line 50 of file cpu_pm.h.
◆ PM_NUM_MODES
#define PM_NUM_MODES (3U) |
Number of usable low power modes.
Definition at line 35 of file cpu_pm.h.
◆ STM32_PM_IDLE
#define STM32_PM_IDLE (2U) |
Index of IDLE mode.
Definition at line 41 of file cpu_pm.h.
◆ STM32_PM_STANDBY
#define STM32_PM_STANDBY (0U) |
Index of STANDBY mode.
Definition at line 43 of file cpu_pm.h.
◆ STM32_PM_STOP
#define STM32_PM_STOP (1U) |
Index of STOP mode.
Definition at line 42 of file cpu_pm.h.