Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

_NUTTIMERINFO Struct Reference

#include <sys/timer.h>

Collaboration diagram for _NUTTIMERINFO:

Collaboration graph
[legend]

Detailed Description

Timer information structure.
Examples:

httpd/httpserv.c, portdio/portdio.c, pppc/pppc.c, and tcps/tcps.c.


Data Fields

NUTTIMERINFOtn_next
 Link to next timer.
NUTTIMERINFOtn_prev
 Link to previous timer.
u_long tn_ticks
 Number of system ticks. Set to zero on one-shot timers.
u_long tn_ticks_left
 Decremented by one on each system tick intervall.
void(* tn_callback )(HANDLE, void *)
 Callback function.
volatile void * tn_arg
 Argument pointer passed to callback function.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/