RTEMS Logo

RTEMS 4.6.1 On-Line Library


Real-Time Clock Driver setRealTime

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

11.6: setRealTime

The setRealTime routine sets the preferred RTC TOD to the TOD specified by the caller.

void setRealTime( rtems_time_of_day *tod )
{
  if no RTCs are present
    return

  invoke the deviceSetTime routine for the preferred RTC
}


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2004 OAR Corporation