summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/soc/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/soc/timer.h')
-rw-r--r--fw/fe310/eos/soc/timer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fw/fe310/eos/soc/timer.h b/fw/fe310/eos/soc/timer.h
index 227aeee..f5c7b4e 100644
--- a/fw/fe310/eos/soc/timer.h
+++ b/fw/fe310/eos/soc/timer.h
@@ -12,14 +12,14 @@
typedef void (*eos_timer_handler_t) (unsigned char);
-int eos_timer_init(uint8_t wakeup_cause);
+int eos_timer_init(void);
void eos_timer_set_handler(unsigned char evt, eos_timer_handler_t handler);
uint32_t eos_timer_get(unsigned char evt);
void eos_timer_set(unsigned char evt, uint32_t msec);
void eos_timer_clear(unsigned char evt);
-void eos_time_sleep(uint32_t msec);
-uint32_t eos_time_get_tick(void);
-uint64_t eos_time_get_tick64(void);
-uint32_t eos_time_delta_ms(uint32_t tick);
+void eos_sleep(uint32_t msec);
+uint32_t eos_get_tick(void);
+uint64_t eos_get_tick64(void);
+uint32_t eos_tdelta_ms(uint32_t tick);