Struct SYN_Sleep¶
Sleep coordinator — tracks wake locks and sleep statistics.
#include <syn_sleep.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | enabled |
| uint32_t | enter_count |
| volatile uint32_t | lock_mask |
| SYN_SleepMode | max_depth |
| uint32_t | veto_count |
Public Attributes Documentation¶
variable enabled¶
Global enable
variable enter_count¶
Times we actually slept
variable lock_mask¶
Active wake locks (bitmask)
variable max_depth¶
Deepest allowed sleep mode
variable veto_count¶
Times sleep was vetoed
The documentation for this class was generated from the following file src/syntropic/system/syn_sleep.h