Skip to content

Commit f22a4f8

Browse files
committed
esp8266/etshal.h: Add timer functions prototypes.
1 parent f39bcb3 commit f22a4f8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

esp8266/etshal.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
#ifndef _INCLUDED_ETSHAL_H_
22
#define _INCLUDED_ETSHAL_H_
33

4+
#include <os_type.h>
5+
46
void ets_isr_unmask();
57
void ets_install_putc1();
68
void ets_isr_attach();
79
void uart_div_modify();
810

11+
void ets_timer_arm_new(os_timer_t *tim, uint32_t millis, bool repeat, bool is_milli_timer);
12+
void ets_timer_setfn(os_timer_t *tim, ETSTimerFunc callback, void *cb_data);
13+
void ets_timer_disarm(os_timer_t *tim);
14+
915
#endif // _INCLUDED_ETSHAL_H_

0 commit comments

Comments
 (0)