RTEMS Logo

RTEMS 4.8.0 On-Line Library


Clock Manager Announcing a Tick

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

7.3.1: Announcing a Tick

RTEMS provides the rtems.clock_tick directive which is called from the user's real-time clock ISR to inform RTEMS that a tick has elapsed. The tick frequency value, defined in microseconds, is a configuration parameter found in the Configuration Table. RTEMS divides one million microseconds (one second) by the number of microseconds per tick to determine the number of calls to the rtems.clock_tick directive per second. The frequency of rtems.clock_tick calls determines the resolution (granularity) for all time dependent RTEMS actions. For example, calling rtems.clock_tick ten times per second yields a higher resolution than calling rtems.clock_tick two times per second. The rtems.clock_tick directive is responsible for maintaining both calendar time and the dynamic set of timers.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2007OAR Corporation