Nut/OS  5.0.5
API Reference
_NUTTIMERINFO Struct Reference

Timer information structure. More...

#include <sys/timer.h>

Collaboration diagram for _NUTTIMERINFO:
[legend]

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.

Detailed Description

Timer information structure.

Examples:

httpd/httpserv.c.


Field Documentation

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

Examples:
httpd/httpserv.c.

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

Decremented by one on each system tick intervall.

Examples:
httpd/httpserv.c.

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

Callback function.

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

volatile void* _NUTTIMERINFO::tn_arg

Argument pointer passed to callback function.

Referenced by NutTimerCreate(), and NutTimerProcessElapsed().


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