RTC_GetSWClockTick

Syntax

#include <nitro/rtc.h>
OSTick RTC_GetSWClockTick( void );

Arguments

None.

Return Values

Returns the total number of ticks that have elapsed since 12:00am on January 1, 2000, as calculated by the software clock.
Returns 0 if the last software clock synchronization failed.

Description

Returns an OSTick (u64) value for the total number of ticks that have elapsed since 12:00am on January 1, 2000, as calculated by the software clock.

Returns 0 if the last call to the RTC_SyncSWClock function failed.

See Also

RTC_SyncSWClock

Revision History

2008/04/17 Initial version.


CONFIDENTIAL