Contains information about timeout operations.
#include <nks/time.h> typedef struct { unsigned long reserved1 [4] void (toRoutine)(void *); void *toArg; NXTimerVal_t toTimerVal; unsigned long reserved2 [16]; } NXTimeOut_t;
Reserved. Initialize to zero.
Points to the function to be executed. The function returns void and takes a void * as its sole parameter.
Specifies the parameter to be passed to the function pointed to by toRoutine.
Specifies an initialized NXTimerVal_t structure, which specifies the time at which the function will be executed. On expiration of the timer, the specified function will be executed.
Is reserved for future use.
You cannot assume anything about the thread/context that executes the function. The function cannot sleep nor reference thread-specific key-data pairs. The following NKS functions can be invoked from within the timeout function: