zos_powersave_sleep_options_t Struct Reference

Options for waking the device from sleep. More...

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.
 
zos_bool_t uart
 Set ZOS_TRUE if UART should wake the device, note only certin platforms support this option.
 

Detailed Description

Options for waking the device from sleep.