1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/samd5x: define power modes

This commit is contained in:
Gunar Schorcht 2023-06-14 09:09:56 +02:00
parent b73be0d546
commit 33d1e82b73

View File

@ -54,6 +54,16 @@ extern "C" {
* @{
*/
#define PM_NUM_MODES (4) /**< Backup, Hibernate, Standby, Idle */
/**
* @brief Power modes
*/
enum {
SAM0_PM_BACKUP = 0,
SAM0_PM_HIBERNATE = 1,
SAM0_PM_STANDBY = 2,
SAM0_PM_IDLE = 3,
};
/** @} */
/**