summaryrefslogtreecommitdiff
path: root/code/fe310/eos/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/timer.h')
-rw-r--r--code/fe310/eos/timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/code/fe310/eos/timer.h b/code/fe310/eos/timer.h
index dff9b2b..e8416ab 100644
--- a/code/fe310/eos/timer.h
+++ b/code/fe310/eos/timer.h
@@ -8,8 +8,9 @@
typedef void (*eos_timer_fptr_t) (unsigned char);
void eos_timer_init(void);
+void eos_timer_set_handler(unsigned char evt, eos_timer_fptr_t handler, uint8_t flags);
+
uint64_t eos_timer_get(unsigned char evt);
void eos_timer_set(uint32_t msec, unsigned char evt, unsigned char b);
void eos_timer_clear(unsigned char evt);
-void eos_timer_set_handler(unsigned char evt, eos_timer_fptr_t handler, uint8_t flags);
void eos_timer_sleep(uint32_t msec);