summaryrefslogtreecommitdiff
path: root/code/fe310/eos/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/power.c')
-rw-r--r--code/fe310/eos/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/power.c b/code/fe310/eos/power.c
index 3cc3462..5c874e0 100644
--- a/code/fe310/eos/power.c
+++ b/code/fe310/eos/power.c
@@ -63,11 +63,11 @@ void eos_power_init(void) {
AON_REG(AON_RTCLO) = 0;
}
-uint8_t eos_power_cause_wake(void) {
+uint8_t eos_power_wakeup_cause(void) {
return AON_REG(AON_PMUCAUSE) & 0xff;
}
-uint8_t eos_power_cause_rst(void) {
+uint8_t eos_power_reset_cause(void) {
return (AON_REG(AON_PMUCAUSE) >> 8) & 0xff;
}