Contains information about a delayed operation.
#include <nks/time.h>
typedef struct
{
unsigned long tvPeriod;
unsigned long tvCurrent;
} NXTimerVal_t;
Specifies the interval in system ticks for rescheduling a periodic operation:
Nonzero indicates the timer is periodic and specifies the value to be used in reloading tvCurrent after the timer expires.
Zero specifies that the operation is not periodic and is a one-shot timer.
Specifies the interval in system ticks for the next timer expiration.
Nonzero specifies the time interval for the next timer expiration.
Zero fires the timer immediately.
Both tvCurrent and tvPeriod are expressed in system ticks—the interval between consecutive system clock interrupts. For details on how to retrieve system tick information, see NXGetSystemTick.