Powersave
Functions that reduce power consumption. More...
Data Structures |
|
struct | gos_powersave_sleep_options_t |
Functions |
|
gos_result_t | gos_powersave_sleep (const gos_powersave_sleep_options_t *options) |
Put module into deep sleep.
More...
|
|
Detailed Description
Functions that reduce power consumption.
Function Documentation
◆ gos_powersave_sleep()
gos_result_t gos_powersave_sleep | ( | const gos_powersave_sleep_options_t * |
options
|
) |
Put module into deep sleep.
See Gecko OS Command API documentation: sleep .
- Note
-
Leave the
options
argument NULL to use the configured Gecko OS settings
- Parameters
-
[in] options
Options for how the device should wakeup, see gos_powersave_sleep_options_t , leave NULL to use configured Gecko OS settings
- Returns
- gos_result_t result of API