Adi_Rtc_Setdatetime() - Analog Devices VisualDSP++ 5.0 Service Manual

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

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.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents