33 #ifndef __LWIP_TIMERS_H__
34 #define __LWIP_TIMERS_H__
39 #define LWIP_TIMERS (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
50 #ifndef LWIP_DEBUG_TIMERNAMES
52 #define LWIP_DEBUG_TIMERNAMES SYS_DEBUG
54 #define LWIP_DEBUG_TIMERNAMES 0
63 typedef void (* sys_timeout_handler)(
void *arg);
68 sys_timeout_handler
h;
70 #if LWIP_DEBUG_TIMERNAMES
71 const char* handler_name;
75 void sys_timeouts_init(
void)ICACHE_FLASH_ATTR;
77 #if LWIP_DEBUG_TIMERNAMES
78 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler,
void *
arg,
const char* handler_name)ICACHE_FLASH_ATTR;
79 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler)
81 void sys_timeout(u32_t msecs, sys_timeout_handler handler,
void *
arg)ICACHE_FLASH_ATTR;
84 void sys_untimeout(sys_timeout_handler handler,
void *
arg)ICACHE_FLASH_ATTR;
86 void sys_check_timeouts(
void)ICACHE_FLASH_ATTR;
87 void sys_restart_timeouts(
void)ICACHE_FLASH_ATTR;
89 void sys_timeouts_mbox_fetch(sys_mbox_t *mbox,
void **msg);
u32_t time
Definition: timers.h:67
sys_timeout_handler h
Definition: timers.h:68
void * arg
Definition: timers.h:69
struct sys_timeo * next
Definition: timers.h:66