From 288b138cb59325c42d1a64d9a87e3c879494fd72 Mon Sep 17 00:00:00 2001 From: dmlunar Date: Wed, 22 Jan 2025 16:47:21 +0200 Subject: varpa: initial public commit --- firmware/inc/peripheral/timer.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 firmware/inc/peripheral/timer.h (limited to 'firmware/inc/peripheral/timer.h') 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 + +void timer_init(void); +void timer_reset(void); +uint32_t timer_millis(void); + +#endif -- cgit v1.2.3-70-g09d2