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:
parent
b73be0d546
commit
33d1e82b73
@ -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,
|
||||
};
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user