gos_powersave_sleep_options_t Struct Reference

Data Fields

uint32_t time
 Time in seconds the device should sleep, leave 0 to sleep indefinitely.
uint32_t gpio_mask
 Bitmask of GPIOs that may wake the device.
uint32_t gpio_level_mask
 Bitmask of GPIO active levels.
bool uart
 Set true if UART should wake the device, note only certin platforms support this option.

Detailed Description

Options for waking the device from sleep