procedure Timer_Fire_When ( ID : in RTEMS.ID; Wall_Time : in RTEMS.Time_Of_Day; Routine : in RTEMS.Timer_Service_Routine; User_Data : in RTEMS.Address; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- timer initiated successfully
RTEMS.INVALID_ADDRESS
- routine
is NULL
RTEMS.INVALID_ADDRESS
- wall_time
is NULL
RTEMS.INVALID_ID
- invalid timer id
RTEMS.NOT_DEFINED
- system date and time is not set
RTEMS.INVALID_CLOCK
- invalid time of day
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 at the time of day specified by wall_time. 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-2008 OAR Corporation