BSP and Device Driver Development Guide
The getRealTime returns the preferred RTC TOD to the
caller.
void getRealTime( rtems_time_of_day *tod )
{
  if no RTCs are present
    return
  invoke the deviceGetTime routine for the preferred RTC
}
 
 
BSP and Device Driver Development Guide
Copyright © 1988-2004 OAR Corporation