From 74daa7b891486fdd92cce0c67d076e29b93aeb1c Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 1 Jun 2023 23:51:05 +0100 Subject: Add timer to count ticks --- src/timer.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/timer.h (limited to 'src/timer.h') diff --git a/src/timer.h b/src/timer.h new file mode 100644 index 0000000..22ef6d2 --- /dev/null +++ b/src/timer.h @@ -0,0 +1,9 @@ +#ifndef _TIMER_H +#define _TIMER_H + +extern volatile uint32_t ticks; + +void timer_init(); +void timer_free(); + +#endif /* _TIMER_H */ -- cgit v1.2.3