Public Data Types, Enumerations, and Macros
ADI_TMR_RESULT
Each API function of the timer service returns an
enumeration as a return code. Similar to all system services, generic
success is defined as 0 and generic failure is defined as 1. This allows the
calling function to quickly evaluate the return code for a zero or nonzero
value.
All detailed result codes for the timer service begin with the value
ADI_TMR_ENUMERATION_START
Result Code
ADI_TMR_RESULT_SUCCESS
ADI_TMR_RESULT_FAILED
ADI_TMR_RESULT_NOT_SUPPORTED
ADI_TMR_RESULT_BAD_TIMER_ID
ADI_TMR_RESULT_BAD_TIMER_IDS
ADI_TMR_RESULT_BAD_TIMER_TYPE
ADI_TMR_RESULT_BAD_COMMAND
ADI_FLAG_RESULT_INTERRUPT_MANAGER_ERROR
ADI_TMR_RESULT_CALLBACK_ALREADY_INSTALLED
8-32
, for easy identification.
Description
Function executed correctly.
Function execution not completed.
Operation is not supported.
(0x70002) TimerID value is invalid.
(0x70003) Timer ID values are
invalid.
Operation is not appropriate to the
timer ID supplied.
Invalid command.
Interrupt manager service returned
an error.
Callback is already installed on the
given timer.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
ADI_TMR_RESULT
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?