

#include <nitro/rtc.h>RTCResult RTC_GetDate( RTCDate* date );
| date | Pointer to the buffer where date information will be stored. |
If the request succeeds, it returns 0. If the request fails, it returns a numeric value other than 0.
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.
This function requires a PXI interrupt for synchronization; do not call it when PXI interrupts are prohibited.
RTC_GetDateAsync, RTC_SetDate, RTC_SetDateAsync, RTCResult, RTCDate
2005/03/08 Standardized the Japanese term for "interrupt."
2004/05/18 Initial version.
CONFIDENTIAL