2015-04-10 01:32:04 +09:00
|
|
|
#ifndef SUSPEND_H
|
|
|
|
|
#define SUSPEND_H
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
|
|
|
2019-05-08 11:44:56 +09:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2015-04-10 01:32:04 +09:00
|
|
|
void suspend_idle(uint8_t timeout);
|
|
|
|
|
void suspend_power_down(void);
|
|
|
|
|
bool suspend_wakeup_condition(void);
|
|
|
|
|
void suspend_wakeup_init(void);
|
|
|
|
|
|
2019-05-08 11:44:56 +09:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2015-04-10 01:32:04 +09:00
|
|
|
#endif
|