diff options
Diffstat (limited to 'src/simulator/timer.h')
-rw-r--r-- | src/simulator/timer.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/simulator/timer.h b/src/simulator/timer.h new file mode 100644 index 000000000..f35b82785 --- /dev/null +++ b/src/simulator/timer.h @@ -0,0 +1,12 @@ +#ifndef __SIMU_TIMER_H +#define __SIMU_TIMER_H + +#include <stdint.h> + +uint32_t timer_from_ms(uint32_t ms); +void timer_periodic(void); +uint32_t timer_read_time(void); +uint8_t timer_set_next(uint32_t next); +uint8_t timer_try_set_next(uint32_t next); + +#endif // timer.h |