summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/power.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-11-30 22:05:17 +0100
committerUros Majstorovic <majstor@majstor.org>2021-11-30 22:05:17 +0100
commit5506d89d97db87f78ab2ba4715c4248a3d49f98f (patch)
treee4ef547d541968e552a6f521ab637084b253fa68 /fw/fe310/eos/power.h
parentacce7d8e05ac38776d6340342f6a7868df4f7f28 (diff)
startup code uses init/run
Diffstat (limited to 'fw/fe310/eos/power.h')
-rw-r--r--fw/fe310/eos/power.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fw/fe310/eos/power.h b/fw/fe310/eos/power.h
index 241ee07..76b57a8 100644
--- a/fw/fe310/eos/power.h
+++ b/fw/fe310/eos/power.h
@@ -8,16 +8,11 @@
#define EOS_PWR_WAKE_RST 0
#define EOS_PWR_WAKE_RTC 1
#define EOS_PWR_WAKE_BTN 2
-#define EOS_PWR_INIT 0x80
#define EOS_PWR_RST_PWRON 0
#define EOS_PWR_RST_EXT 1
#define EOS_PWR_RST_WDOG 2
-#define EOS_INIT_RST (EOS_PWR_WAKE_RST | EOS_PWR_INIT)
-#define EOS_INIT_RTC (EOS_PWR_WAKE_RTC | EOS_PWR_INIT)
-#define EOS_INIT_BTN (EOS_PWR_WAKE_BTN | EOS_PWR_INIT)
-
int eos_power_init(uint8_t wakeup_cause);
uint8_t eos_power_wakeup_cause(void);
uint8_t eos_power_reset_cause(void);