diff options
Diffstat (limited to 'platforms/suspend.h')
| -rw-r--r-- | platforms/suspend.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/platforms/suspend.h b/platforms/suspend.h new file mode 100644 index 000000000..081735f90 --- /dev/null +++ b/platforms/suspend.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <stdint.h> | ||
| 4 | #include <stdbool.h> | ||
| 5 | |||
| 6 | void suspend_idle(uint8_t timeout); | ||
| 7 | void suspend_power_down(void); | ||
| 8 | bool suspend_wakeup_condition(void); | ||
| 9 | void suspend_wakeup_init(void); | ||
| 10 | |||
| 11 | void suspend_wakeup_init_user(void); | ||
| 12 | void suspend_wakeup_init_kb(void); | ||
| 13 | void suspend_wakeup_init_quantum(void); | ||
| 14 | void suspend_power_down_user(void); | ||
| 15 | void suspend_power_down_kb(void); | ||
| 16 | void suspend_power_down_quantum(void); | ||
| 17 | |||
| 18 | #ifndef USB_SUSPEND_WAKEUP_DELAY | ||
| 19 | # define USB_SUSPEND_WAKEUP_DELAY 0 | ||
| 20 | #endif | ||
