summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/mphal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/py/mphal.h b/py/mphal.h
index a0b642fc98..6215ab065e 100644
--- a/py/mphal.h
+++ b/py/mphal.h
@@ -54,8 +54,16 @@ void mp_hal_stdout_tx_strn_cooked(const char *str, size_t len);
void mp_hal_delay_ms(mp_uint_t ms);
#endif
+#ifndef mp_hal_delay_us
+void mp_hal_delay_us(mp_uint_t us);
+#endif
+
#ifndef mp_hal_ticks_ms
mp_uint_t mp_hal_ticks_ms(void);
#endif
+#ifndef mp_hal_ticks_us
+mp_uint_t mp_hal_ticks_us(void);
+#endif
+
#endif // __MICROPY_INCLUDED_PY_MPHAL_H__