summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/systick.h
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-03-12 18:06:26 -0700
committerDave Hylands <dhylands@gmail.com>2014-03-12 18:15:55 -0700
commitf14b92b9e13c9cb9f54a1d740dbea1eeedeccb5b (patch)
tree303a4e00c9612951c8ab3cfbe926121724173fd1 /stmhal/systick.h
parent19438fd30a3184b656221a59062ea32453d0fd16 (diff)
downloadmicropython-f14b92b9e13c9cb9f54a1d740dbea1eeedeccb5b.tar.gz
micropython-f14b92b9e13c9cb9f54a1d740dbea1eeedeccb5b.zip
REPl working on UART6 with STMHAL
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);