RTEMS Logo

RTEMS 4.7.2 On-Line Library


Real-Time Clock Driver getRealTime

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

11.5: getRealTime

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
}


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2004 OAR Corporation