aboutsummaryrefslogtreecommitdiffstats
path: root/src/ar100/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ar100/timer.h')
-rw-r--r--src/ar100/timer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ar100/timer.h b/src/ar100/timer.h
new file mode 100644
index 00000000..12e89752
--- /dev/null
+++ b/src/ar100/timer.h
@@ -0,0 +1,12 @@
+#include <stdint.h>
+#include "asm/spr.h"
+#include "sched.h"
+#include "internal.h"
+
+uint8_t timer_interrupt_pending(void);
+void timer_set(uint32_t value);
+uint32_t timer_read_time(void);
+void timer_reset(void);
+void timer_clear_interrupt(void);
+void timer_kick(void);
+void timer_init(void);