2020-07-30 19:57:46 +02:00
|
|
|
#ifndef PM_H
|
|
|
|
#define PM_H
|
|
|
|
#include <avr/io.h>
|
|
|
|
|
2020-07-31 19:07:11 +02:00
|
|
|
#define PORT_SBCPOW(t) t##C
|
|
|
|
#define PIN_SBCPOW (1 << 2)
|
|
|
|
|
|
|
|
void pm_init();
|
2020-07-30 19:57:46 +02:00
|
|
|
void suspend();
|
2020-07-30 21:42:09 +02:00
|
|
|
char* post();
|
2020-07-31 19:07:11 +02:00
|
|
|
void pm_init();
|
|
|
|
void pm_sbc_on();
|
|
|
|
void pm_sbc_off();
|
2020-07-30 19:57:46 +02:00
|
|
|
|
|
|
|
#endif // PM_H
|