From cf7c06297d04bade9cd04c056f9ed510e64dd7bd Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 5 Aug 2020 03:39:22 +0200 Subject: code -> fw --- code/fe310/eos/power.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 code/fe310/eos/power.h (limited to 'code/fe310/eos/power.h') diff --git a/code/fe310/eos/power.h b/code/fe310/eos/power.h deleted file mode 100644 index 466573f..0000000 --- a/code/fe310/eos/power.h +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include "event.h" - -#define EOS_PWR_MTYPE_BUTTON 0 - -#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 - -void eos_power_init(void); -uint8_t eos_power_wakeup_cause(void); -uint8_t eos_power_reset_cause(void); -void 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); \ No newline at end of file -- cgit v1.2.3