2020-12-26 12:56:11 +08:00
|
|
|
#pragma once
|
2015-04-10 00:32:04 +08:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
void suspend_power_down(void);
|
|
|
|
bool suspend_wakeup_condition(void);
|
|
|
|
void suspend_wakeup_init(void);
|
|
|
|
|
2018-06-04 05:57:35 +08:00
|
|
|
void suspend_wakeup_init_user(void);
|
|
|
|
void suspend_wakeup_init_kb(void);
|
2021-08-31 03:21:03 +08:00
|
|
|
void suspend_wakeup_init_quantum(void);
|
2019-08-31 02:19:03 +08:00
|
|
|
void suspend_power_down_user(void);
|
2018-06-04 05:57:35 +08:00
|
|
|
void suspend_power_down_kb(void);
|
2021-08-31 03:21:03 +08:00
|
|
|
void suspend_power_down_quantum(void);
|
2021-02-02 08:12:41 +08:00
|
|
|
|
|
|
|
#ifndef USB_SUSPEND_WAKEUP_DELAY
|
2021-03-02 22:31:23 +08:00
|
|
|
# define USB_SUSPEND_WAKEUP_DELAY 0
|
2021-02-02 08:12:41 +08:00
|
|
|
#endif
|