summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/systick.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/systick.h')
-rw-r--r--stmhal/systick.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/systick.h b/stmhal/systick.h
new file mode 100644
index 0000000000..ce33e849b8
--- /dev/null
+++ b/stmhal/systick.h
@@ -0,0 +1,5 @@
+void sys_tick_init(void);
+void SysTick_Handler(void);
+void sys_tick_delay_ms(uint32_t delay_ms);
+void sys_tick_wait_at_least(uint32_t stc, uint32_t delay_ms);
+bool sys_tick_has_passed(uint32_t stc, uint32_t delay_ms);