summaryrefslogtreecommitdiff
path: root/firmware/inc/peripheral/timer.h
diff options
context:
space:
mode:
authordmlunar <root@lunar.sh>2025-01-22 16:47:21 +0200
committerdmlunar <root@lunar.sh>2025-10-15 23:42:50 +0200
commit729f2a2c3ebfb2612d873caf453a1d7ca02180d9 (patch)
tree7bab2fcc0c7f50eab3013348697bc06ddd71d551 /firmware/inc/peripheral/timer.h
downloadvarpa-729f2a2c3ebfb2612d873caf453a1d7ca02180d9.tar.gz
varpa-729f2a2c3ebfb2612d873caf453a1d7ca02180d9.zip
varpa: initial public commit
Diffstat (limited to 'firmware/inc/peripheral/timer.h')
-rw-r--r--firmware/inc/peripheral/timer.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/firmware/inc/peripheral/timer.h b/firmware/inc/peripheral/timer.h
new file mode 100644
index 0000000..ff45c85
--- /dev/null
+++ b/firmware/inc/peripheral/timer.h
@@ -0,0 +1,22 @@
+/**
+ *
+ * Author: Dylan Muller
+ * Copyright (c) 2025
+ * All rights reserved.
+ *
+ * - Commercial/IP use prohibited.
+ * - Attribution required.
+ * See License.txt
+ *
+ */
+
+#ifndef TIMER_H_
+#define TIMER_H_
+
+#include <stdint.h>
+
+void timer_init(void);
+void timer_reset(void);
+uint32_t timer_millis(void);
+
+#endif