diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-12-09 23:50:58 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-12-09 23:50:58 +0100 |
commit | 7d03a941be6e9226e71cb5f5b4f7949e06bbfb02 (patch) | |
tree | cde9218dbe97837f972c426552c463f5f2a6a256 /fw/fe310/eos/power.h | |
parent | 9c8f5a5e8f11e4a5012d55b96afae290242b8fdd (diff) |
improved init process
Diffstat (limited to 'fw/fe310/eos/power.h')
-rw-r--r-- | fw/fe310/eos/power.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/fw/fe310/eos/power.h b/fw/fe310/eos/power.h deleted file mode 100644 index 76b57a8..0000000 --- a/fw/fe310/eos/power.h +++ /dev/null @@ -1,23 +0,0 @@ -#include <stdint.h> -#include "event.h" - -#define EOS_PWR_MTYPE_BUTTON 1 - -#define EOS_PWR_MAX_MTYPE 2 - -#define EOS_PWR_WAKE_RST 0 -#define EOS_PWR_WAKE_RTC 1 -#define EOS_PWR_WAKE_BTN 2 - -#define EOS_PWR_RST_PWRON 0 -#define EOS_PWR_RST_EXT 1 -#define EOS_PWR_RST_WDOG 2 - -int eos_power_init(uint8_t wakeup_cause); -uint8_t eos_power_wakeup_cause(void); -uint8_t eos_power_reset_cause(void); -int eos_power_sleep(void); -void eos_power_wake_at(uint32_t msec); -void eos_power_wake_disable(void); -void eos_power_set_handler(unsigned char mtype, eos_evt_handler_t handler); -eos_evt_handler_t eos_power_get_handler(unsigned char mtype);
\ No newline at end of file |