BSP and Device Driver Development Guide
The setRealTimeToRTEMS
routine sets the current RTEMS TOD to that
of the preferred RTC.
void setRealTimeToRTEMS(void) { if no RTCs are present return invoke the deviceGetTime routine for the preferred RTC set the RTEMS TOD using rtems_clock_set }
BSP and Device Driver Development Guide
Copyright © 1988-2008 OAR Corporation