summaryrefslogtreecommitdiff
path: root/code/fe310/eos/timer.h
blob: 929283bbb6a2357d1254de39be5f054563b21034 (plain)
1
2
3
4
5
6
7
#include <stdint.h>

typedef uint32_t (*eos_timer_fptr_t) (void);

void eos_timer_init(void);
void eos_timer_set(uint32_t tick, unsigned char is_evt);
void eos_timer_set_handler(eos_timer_fptr_t handler);