Get the time remaining on a realtime timer
#include <photon/realtime/RtTimer.h> int RtTimerGetTime( RtTimer_t *timer, struct itimerspec *value );
ph
This function gets the time remaining on the realtime timer identified by the structure pointed to by timer. The time remaining is put into the structure pointed to by value.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
RtTimerCreate(), RtTimerDelete(), RtTimerSetTime()
“Timers” in the Working with Code chapter of the Photon Programmer's Guide
timer_gettime() in the QNX Neutrino Library Reference