diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-10-15 20:20:38 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-10-15 20:20:38 +0200 |
commit | 86957adfc5e2177010db896581763b4cba07273e (patch) | |
tree | c7513c2e5953cb664e9cb5e4d30180dc94b1d758 /code/fe310/eos/timer.h | |
parent | 98b5515f2ada43ca84ab4e8cfbec2c4844eaad6e (diff) |
timer bugfix
Diffstat (limited to 'code/fe310/eos/timer.h')
-rw-r--r-- | code/fe310/eos/timer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/code/fe310/eos/timer.h b/code/fe310/eos/timer.h index 34512fa..0807d96 100644 --- a/code/fe310/eos/timer.h +++ b/code/fe310/eos/timer.h @@ -8,5 +8,7 @@ typedef void (*eos_timer_fptr_t) (unsigned char); void eos_timer_init(void); -void eos_timer_set(uint32_t tick, unsigned char evt); +uint64_t eos_timer_get(unsigned char evt); +void eos_timer_set(uint64_t tick, 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); |