summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/net/pwr.h
blob: b82a96b46232607609d90c376c17d13e61089b5b (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdint.h>
#include "../event.h"

#define EOS_PWR_MTYPE_BUTTON    1

#define EOS_PWR_MAX_MTYPE       2

void eos_pwr_net_init(void);
void eos_pwr_set_handler(unsigned char mtype, eos_evt_handler_t handler);
eos_evt_handler_t eos_pwr_get_handler(unsigned char mtype);