RTC_GetDate

Syntax

#include <nitro/rtc.h>
RTCResult RTC_GetDate( RTCDate* date );

Arguments

date Pointer to the buffer where date information will be stored.

Return Values

If the request succeeds, it returns 0. If the request fails, it returns a numeric value other than 0.

Description

This function reads date data from the real time clock. It queries ARM7 for date data and returns the information once it is received. This is a synchronous version of the RTC_GetDateAsync function.

Note

This function requires a PXI interrupt for synchronization; do not call it when PXI interrupts are prohibited.

See Also

RTC_GetDateAsync, RTC_SetDate, RTC_SetDateAsync, RTCResult, RTCDate

Revision History

2005/03/08 Standardized the Japanese term for "interrupt."
2004/05/18 Initial version.


CONFIDENTIAL