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