diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-04 19:39:24 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-04 19:39:24 +0200 |
commit | f22a4f8e0ac206b39cf76d697b890581cb55abbc (patch) | |
tree | ea5fcfd9d3cf8e6fc3b287959130c54d82a1b527 /esp8266 | |
parent | f39bcb304bc51f13abb465c644810a81d8a9c565 (diff) | |
download | micropython-f22a4f8e0ac206b39cf76d697b890581cb55abbc.tar.gz micropython-f22a4f8e0ac206b39cf76d697b890581cb55abbc.zip |
esp8266/etshal.h: Add timer functions prototypes.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/etshal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/esp8266/etshal.h b/esp8266/etshal.h index 61d8399db7..dbbb010dac 100644 --- a/esp8266/etshal.h +++ b/esp8266/etshal.h @@ -1,9 +1,15 @@ #ifndef _INCLUDED_ETSHAL_H_ #define _INCLUDED_ETSHAL_H_ +#include <os_type.h> + void ets_isr_unmask(); void ets_install_putc1(); void ets_isr_attach(); void uart_div_modify(); +void ets_timer_arm_new(os_timer_t *tim, uint32_t millis, bool repeat, bool is_milli_timer); +void ets_timer_setfn(os_timer_t *tim, ETSTimerFunc callback, void *cb_data); +void ets_timer_disarm(os_timer_t *tim); + #endif // _INCLUDED_ETSHAL_H_ |