summaryrefslogtreecommitdiff
path: root/code/fe310/eos/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/power.h')
-rw-r--r--code/fe310/eos/power.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/fe310/eos/power.h b/code/fe310/eos/power.h
index 7f579a5..466573f 100644
--- a/code/fe310/eos/power.h
+++ b/code/fe310/eos/power.h
@@ -5,7 +5,7 @@
#define EOS_PWR_MAX_MTYPE 2
-#define EOS_PWR_WAKE_RESET 0
+#define EOS_PWR_WAKE_RST 0
#define EOS_PWR_WAKE_RTC 1
#define EOS_PWR_WAKE_BTN 2
@@ -14,8 +14,8 @@
#define EOS_PWR_RST_WDOG 2
void eos_power_init(void);
-uint8_t eos_power_cause_wake(void);
-uint8_t eos_power_cause_rst(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);