RTEMS Logo

RTEMS 4.9.2 On-Line Library


Timer Manager Timer Service Routines

PREV UP NEXT Bookshelf RTEMS C User's Guide

8.2.4: Timer Service Routines

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.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation