![]() |
![]() |
![]() |
![]() |
Set the expiration time for a realtime timer
#include <photon/realtime/RtTimer.h> int RtTimerSetTime( RtTimer_t *timer, int flags, struct itimerspec *value, struct itimerspec *ovalue );
ph
This function sets the expiration time for the timer identified by the structure pointed to by timer to the time specified by value.
If ovalue isn't NULL, the old expiration time is stored there.
For a description of the possible values for flags, see timer_settime() in the QNX 6 Library Reference.
See timer_settime() in the QNX 6 Library Reference.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
RtTimerCreate(), RtTimerDelete(), RtTimerGetTime()
timer_settime() in the QNX 6 Library Reference
"Timers" in the Working with Code chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |