_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 112 of file timer.h.


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.

Field Documentation

NUTTIMERINFO* _NUTTIMERINFO::tn_next

Link to next timer.

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

Definition at line 115 of file timer.h.

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

NUTTIMERINFO* _NUTTIMERINFO::tn_prev

Link to previous timer.

Definition at line 118 of file timer.h.

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

u_long _NUTTIMERINFO::tn_ticks

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 122 of file timer.h.

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

u_long _NUTTIMERINFO::tn_ticks_left

Decremented by one on each system tick intervall.

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

Definition at line 125 of file timer.h.

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

void(* _NUTTIMERINFO::tn_callback)(HANDLE, void *)

Callback function.

Referenced by NutTimerCreate(), and NutTimerProcessElapsed().

volatile void* _NUTTIMERINFO::tn_arg

Argument pointer passed to callback function.

Definition at line 131 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/