1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>RTC_SyncSWClock</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">RTC_SyncSWClock <img src="../image/NTR.gif" align="middle"><img src="../image/TWL.gif" align="middle"></h1> 15 16<h2>Syntax</h2> 17 18<dl> 19 <dd> 20<CODE>#include <nitro/rtc.h></CODE><BR> 21<PRE><CODE><A href="RTCResult.html">RTCResult</A> RTC_SyncSWClock( void );</CODE></PRE> 22 </dd> 23 24</dl><h2>Arguments</h2> 25<p>None.</p> 26 27<h2>Return Values</h2> 28<p> 29Returns the results of calling <code><A href="RTC_GetDateTime.html">RTC_GetDateTime</A></code> within the function. 30</p> 31 32<H2>Description</H2> 33<P> 34Synchronizes the software clock with the current RTC time. Do not call this function while PXI interrupts are disabled, because it calls the <code><A href="RTC_GetDateTime.html">RTC_GetDateTime</A></code> function internally. 35</P> 36<P> 37This function is also invoked from the callback that is added by the <code><A href="RTC_InitSWClock.html">RTC_InitSWClock</A></code> function and triggered when recovering from Sleep Mode. 38</P> 39<P> 40You can call the <code><A href="RTC_GetLastSyncSWClockResult.html">RTC_GetLastSyncSWClockResult</A></code> function to get the return value from the last call to the <code>RTC_SyncSWClock</code> function. 41</P> 42 43<h2>See Also</h2> 44<P><CODE><A href="RTC_InitSWClock.html">RTC_InitSWClock</A>, <A href="RTC_GetLastSyncSWClockResult.html">RTC_GetLastSyncSWClockResult</A>, <A href="RTCResult.html">RTCResult</A></CODE></P> 45 46<H2>Revision History</H2> 47<P> 482008/04/17 Initial version. 49</P> 50<hr><p>CONFIDENTIAL</p></body> 51</html> 52