procedure Timer_Fire_After ( ID : in RTEMS.ID; Ticks : in RTEMS.Interval; Routine : in RTEMS.Timer_Service_Routine; User_Data : in RTEMS.Address; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- timer initiated successfully
RTEMS.INVALID_ID
- invalid timer id
RTEMS.INVALID_NUMBER
- invalid interval
This directive initiates the timer specified by id. If the timer is running, it is automatically canceled before being initiated. The timer is scheduled to fire after an interval ticks clock ticks has passed. When the timer fires, the timer service routine routine will be invoked with the argument user_data.
This directive will not cause the running task to be preempted.
Copyright © 1988-2004 OAR Corporation