Real-Time Clock Service API Data Types and Enumerations
Result Codes
Each of the RTCS API functions returns a result code that can be trans-
lated by looking into the RTC service API header file,
result codes are summarized in
Table 11-4. RTCS Return Values
Result Code Name
ADI_RTC_RESULT_SUCCESS
ADI_RTC_RESULT_FAILED
ADI_RTC_RESULT_START
ADI_RTC_ENUMERATION_START
ADI_RTC_RESULT_INVALID_EVENT_ID
ADI_RTC_RESULT_INTERRUPT_MANAGER_ERROR
ADI_RTC_RESULT_ERROR_REMOVING_CALLBACK
ADI_RTC_RESULT_CALL_IGNORED
ADI_RTC_RESULT_NOT_INITIALIZED
ADI_RTC_RESULT_CALLBACK_NOT_INSTALLED
ADI_RTC_RESULT_DATETIME_OUT_OF_RANGE
ADI_RTC_RESULT_SERVICE_NOT_SUPPORTED
ADI_RTC_RESULT_ALREADY_INITIALIZED
ADI_RTC_RESULT_CALLBACK_ALREADY_INSTALLED
ADI_RTC_RESULT_CALLBACK_CONFLICT
11-30
Table
11-4.
Result Code Description
Generic success = 0
Generic failure = 1
(0xA0000) base of event code values
(0xA0000) base of event code values
(0xA0001) invalid
(0xA0002) error from interrupt manager
(0xA0003) no callback installed for given ID
(0xA0004) function not executed
(0xA0005) RTC service was not initialized
(0xA0006) callback was never installed
(0xA0007) tm struct seconds field out of range
(0xA0008) no RTC service for this processor
(0xA0009) service was already initialized
(0xA000A) cannot install same callback twice
(0xA000B) cannot install both alarm callbacks
simultaneously
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
. The
adi_rtc.h
Event ID
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?