The timer service routine should adhere to C calling conventions and have a prototype similar to the following:
rtems_timer_service_routine user_routine( rtems_id timer_id, void *user_data );
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-2003 OAR Corporation