uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
timers.h File Reference
#include "lwip/opt.h"
#include "lwip/err.h"
#include "lwip/sys.h"

Go to the source code of this file.

Classes

struct  sys_timeo
 

Macros

#define LWIP_TIMERS   (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
 
#define LWIP_DEBUG_TIMERNAMES   0
 

Typedefs

typedef void(* sys_timeout_handler )(void *arg)
 

Functions

void sys_timeouts_init (void)
 
void sys_timeout (u32_t msecs, sys_timeout_handler handler, void *arg)
 
void sys_untimeout (sys_timeout_handler handler, void *arg)
 
void sys_timeouts_mbox_fetch (sys_mbox_t *mbox, void **msg)
 

Macro Definition Documentation

#define LWIP_DEBUG_TIMERNAMES   0

Definition at line 54 of file timers.h.

#define LWIP_TIMERS   (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))

Definition at line 39 of file timers.h.

Typedef Documentation

typedef void(* sys_timeout_handler)(void *arg)

Function prototype for a timeout callback function. Register such a function using sys_timeout().

Parameters
argAdditional argument to pass to the function - set up by sys_timeout()

Definition at line 63 of file timers.h.

Function Documentation

void sys_timeout ( u32_t  msecs,
sys_timeout_handler  handler,
void *  arg 
)
void sys_timeouts_init ( void  )
void sys_timeouts_mbox_fetch ( sys_mbox_t *  mbox,
void **  msg 
)
void sys_untimeout ( sys_timeout_handler  handler,
void *  arg 
)