RTC Service Application Programming Interface (API)
adi_rtc_SetDateTime()
Description
This function is called to program the date and time into the
register. The new date and time take effect when the write completes, on
the next 1 Hz tick.
Prototype
ADI_RTC_RESULT adi_rtc_SetDateTime(
struct tm *pDateTime
);
Arguments
The function accepts one argument, a pointer to the
defined in the
Return Value
ADI_RTC_RESULT_SUCCESS
Any other value
11-20
file.
time.h
No error has been encountered.
Error has occurred.
See
VisualDSP++ 5.0 Device Drivers and System
Table 11-4 on page 11-30
Services Manual for Blackfin Processors
RTC_STAT
structure that is
tm
for a list of return codes.
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?