

#include <nitro/rtc.h>RTCResult RTC_GetDateTime( RTCDate* date ,RTCTime* time );
| date | Pointer to the buffer where date information will be stored. |
| time | Pointer to the buffer where time 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 and time data from the real time clock. It queries ARM7 for date and time data, stores the information to caller-specified storage, and returns. This is a synchronous version of the RTC_GetDateTimeAsync function.
This function requires a PXI interrupt for synchronization; do not call it when PXI interrupts are prohibited.
RTC_GetDateTimeAsync, RTC_SetDateTime, RTC_SetDateTimeAsync, RTCResult, RTCDate, RTCTime
2005/03/08 Standardized the Japanese term for "interrupt."
2004/05/18 Initial version.
CONFIDENTIAL