should still be entered using the C standard epoch date of 1900.
For example, the lowest number you can enter for this field is 70.
This is because the year, month, and day fields are stored as a
15-bit day count in the
time to 32,768 days (around 89 ½ years).
As with the standard
The
adi_rtc_GetDateTime()
field.
This structure is used for compatibility with the
and
functions described in more detail in the C Run-Time Library
ctime
reference section of the VisualDSP++ 5.0 C/C++ Compiler and Library
Manual for Blackfin Processors.
Event IDs
There are eight possible asynchronous events that are defined by the
(Table
11-3).
ID
Table 11-3. Event ID and Description
Event Name
ADI_RTC_EVENT_SECONDS
ADI_RTC_EVENT_MINUTES
ADI_RTC_EVENT_HOURS
ADI_RTC_EVENT_DAYS
ADI_RTC_EVENT_STOPWATCH
ADI_RTC_EVENT_EACH_DAY_ALM
ADI_RTC_EVENT_ONCE_ALM
ADI_RTC_EVENT_WRITES_COMPLETE
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
Real-Time Clock Service
register which limits the length of
RTC_STAT
structure, the
tm
tm_isdst
function will always return 0 for this
Event Description
(0xA0001) one second periodic interrupt
(0xA0002) one minute periodic interrupt
(0xA0003) hourly periodic interrupt
(0xA0004) daily periodic interrupt
(0xA0005) stopwatch countdown event
(0xA0006) time of day, daily alarm
(0xA0007) day and time once only alarm
(0xA0008) pending register writes complete
field is not used.
,
,
asctime
gmtime
mktime
,
Event
11-29
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?
Questions and answers