2020-12-26 05:56:11 +01:00
|
|
|
#pragma once
|
2015-04-09 18:32:04 +02:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
void suspend_idle(uint8_t timeout);
|
|
|
|
void suspend_power_down(void);
|
|
|
|
bool suspend_wakeup_condition(void);
|
|
|
|
void suspend_wakeup_init(void);
|
|
|
|
|
2018-06-03 23:57:35 +02:00
|
|
|
void suspend_wakeup_init_user(void);
|
|
|
|
void suspend_wakeup_init_kb(void);
|
2019-08-30 20:19:03 +02:00
|
|
|
void suspend_power_down_user(void);
|
2018-06-03 23:57:35 +02:00
|
|
|
void suspend_power_down_kb(void);
|
2021-02-02 01:12:41 +01:00
|
|
|
|
|
|
|
#ifndef USB_SUSPEND_WAKEUP_DELAY
|
2021-03-02 15:31:23 +01:00
|
|
|
# define USB_SUSPEND_WAKEUP_DELAY 0
|
2021-02-02 01:12:41 +01:00
|
|
|
#endif
|