RTEMS Logo

RTEMS 4.10.2 On-Line Library


Clock Manager CLOCK_GET_TICKS_PER_SECOND - Get ticks per second

PREV UP NEXT Bookshelf RTEMS C User's Guide

7.4.6: CLOCK_GET_TICKS_PER_SECOND - Get ticks per second

CALLING SEQUENCE:

rtems_interval rtems_clock_get_ticks_per_second(void);

DIRECTIVE STATUS CODES:

NONE

DESCRIPTION:

This directive returns the number of clock ticks per second. This is strictly based upon the microseconds per clock tick that the application has configured.

NOTES:

This directive is callable from an ISR.

This directive will not cause the running task to be preempted. Re-initializing RTEMS causes the system date and time to be reset to an uninitialized state. Another call to rtems_clock_set is required to re-initialize the system date and time to application specific specifications.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation