Definition in file timer.h.
Go to the source code of this file.
Data Structures | |
struct | _NUTTIMERINFO |
Timer information structure. More... | |
Defines | |
#define | TM_ONESHOT 0x01 |
Typedefs | |
typedef struct _NUTTIMERINFO | NUTTIMERINFO |
Timer type. | |
Functions | |
void | NutTimerInit (void) |
Initialize system timer. | |
NUTTIMERINFO * | NutTimerCreate (u_long ticks, void(*callback)(HANDLE, void *), void *arg, u_char flags) |
Create a new system timer. | |
void | NutTimerInsert (NUTTIMERINFO *tn) |
Insert a new timer in the global timer list. | |
void | NutTimerProcessElapsed (void) |
Process elapsed timers. | |
void | NutSleep (u_long ms) |
Temporarily suspends the current thread. | |
u_long | NutGetTickCount (void) |
Return the number of system timer ticks. | |
u_long | NutGetSeconds (void) |
Return the seconds counter value. | |
u_long | NutGetMillis (void) |
Return the milliseconds counter value. | |
HANDLE | NutTimerStart (u_long ms, void(*callback)(HANDLE, void *), void *arg, u_char flags) |
Start a system timer. | |
HANDLE | NutTimerStartTicks (u_long ticks, void(*callback)(HANDLE, void *), void *arg, u_char flags) |
Start a system timer. | |
void | NutTimerStop (HANDLE handle) |
Stop a specified timer. | |
Variables | |
NUTTIMERINFO * | nutTimerList |
Double linked list of all system timers. |
#define TM_ONESHOT 0x01 |
Definition at line 136 of file timer.h.
Referenced by main(), NutEventWait(), NutMsgQGetMessage(), NutMsgQStartTimer(), NutSleep(), and NutTimerCreate().
typedef struct _NUTTIMERINFO NUTTIMERINFO |