2bfb212b15
Conflicts: common/avr/suspend.c
19 lines
331 B
C
19 lines
331 B
C
#ifndef SUSPEND_H
|
|
#define SUSPEND_H
|
|
|
|
#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);
|
|
|
|
#ifdef SUSPEND_ACTION
|
|
void suspend_power_down_action(void);
|
|
void suspend_wakeup_init_action(void);
|
|
#endif
|
|
|
|
#endif
|