diff options
Diffstat (limited to 'fw/fe310/eos/net/pwr.h')
-rw-r--r-- | fw/fe310/eos/net/pwr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fw/fe310/eos/net/pwr.h b/fw/fe310/eos/net/pwr.h new file mode 100644 index 0000000..b82a96b --- /dev/null +++ b/fw/fe310/eos/net/pwr.h @@ -0,0 +1,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); |