The timer service routine should adhere to Ada calling conventions and have a prototype similar to the following:
procedure User_Routine( Timer_ID : in RTEMS.ID; User_Data : in System.Address );
Where the timer_id parameter is the RTEMS object ID of the timer which is being fired and user_data is a pointer to user-defined information which may be utilized by the timer service routine. The argument user_data may be NULL.
Copyright © 1988-2007OAR Corporation