RTC_SyncSWClock

Syntax

#include <nitro/rtc.h>
RTCResult RTC_SyncSWClock( void );

Arguments

None.

Return Values

Returns the results of calling RTC_GetDateTime within the function.

Description

Synchronizes the software clock with the current RTC time. Do not call this function while PXI interrupts are disabled, because it calls the RTC_GetDateTime function internally.

This function is also invoked from the callback that is added by the RTC_InitSWClock function and triggered when recovering from Sleep Mode.

You can call the RTC_GetLastSyncSWClockResult function to get the return value from the last call to the RTC_SyncSWClock function.

See Also

RTC_InitSWClock, RTC_GetLastSyncSWClockResult, RTCResult

Revision History

2008/04/17 Initial version.


CONFIDENTIAL