NOT SUPPORTED FROM Ada BINDING
RTEMS.SUCCESSFUL - clock tick processed successfully
RTEMS.INVALID_ADDRESS - time_buffer is NULL
This directive is used by the Clock device driver to install the
routine which will be invoked by the internal RTEMS method used to
obtain a highly accurate time of day. It is usually called during
the initialization of the driver.
When the routine is invoked, it will determine the number of
nanoseconds which have elapsed since the last invocation of
the rtems.clock_tick directive. It should do
this as quickly as possible with as little impact as possible
on the device used as a clock source.
This directive may be called from an ISR.
This directive is called as part of every service to obtain the current date and time as well as timestamps.
Copyright © 1988-2004 OAR Corporation