20.6.2.5.1 Function system_set_sleepmode()
Set the sleep mode of the device.
void system_set_sleepmode( const enum system_sleepmode sleep_mode)
Sets the sleep mode of the device; the configured sleep mode will be entered upon the next call of the system_sleep() function.
For an overview of which systems are disabled in sleep for the different sleep modes, see Sleep Modes.
Data direction | Parameter name | Description |
---|---|---|
[in] | sleep_mode |
Sleep mode to configure for the next sleep operation |