_NUTTIMERINFO Struct Reference

Collaboration diagram for _NUTTIMERINFO:

Collaboration graph
[legend]

Detailed Description

Timer information structure.
Examples:

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

Definition at line 127 of file timer.h.


Data Fields

NUTTIMERINFOtn_next
 Link to next timer.
NUTTIMERINFOtn_prev
 Link to previous timer.
uint32_t tn_ticks
 Number of system ticks. Set to zero on one-shot timers.
uint32_t 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.

Field Documentation

Link to next timer.

Examples:
httpd/httpserv.c, pppc/pppc.c, and tcps/tcps.c.

Definition at line 130 of file timer.h.

Referenced by NutTimerInsert(), NutTimerProcessElapsed(), NutTimerStop(), and ProcessRequests().

Link to previous timer.

Definition at line 133 of file timer.h.

Referenced by NutTimerInsert(), NutTimerProcessElapsed(), and NutTimerStop().

Number of system ticks. Set to zero on one-shot timers.

Examples:
httpd/httpserv.c, pppc/pppc.c, and tcps/tcps.c.

Definition at line 137 of file timer.h.

Referenced by NutDumpTimerList(), NutTimerCreate(), NutTimerProcessElapsed(), NutTimerStop(), and ProcessRequests().

Decremented by one on each system tick intervall.

Examples:
httpd/httpserv.c, pppc/pppc.c, and tcps/tcps.c.

Definition at line 140 of file timer.h.

Referenced by NutTimerCreate(), NutTimerInsert(), NutTimerProcessElapsed(), NutTimerStop(), and ProcessRequests().

Callback function.

Referenced by NutTimerCreate(), NutTimerProcessElapsed(), and NutTimerStop().

volatile void* _NUTTIMERINFO::tn_arg

Argument pointer passed to callback function.

Definition at line 146 of file timer.h.

Referenced by NutTimerCreate(), and NutTimerProcessElapsed().


The documentation for this struct was generated from the following file:

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