aboutsummaryrefslogtreecommitdiff
path: root/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/timer.h b/timer.h
new file mode 100644
index 0000000..2f2e4b3
--- /dev/null
+++ b/timer.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <stdint.h>
+
+struct timer {
+ void (*init)(void);
+ uint16_t (*get_time)(void);
+};
+
+void get_system_timer(struct timer *);