adi_flag_SetTrigger
Description
The
adi_flag_SetTrigger
ates a callback. This function is not typically called by clients, as setting
the trigger condition is taken care of automatically by the
adi_flag_InstallCallback
This function is provided as a convenience for users who want an extra
measure of control on callbacks. The function can also be used to change
the trigger conditions for a callback without removing and then reinstall-
ing the callback.
Prototype
void adi_flag_SetTrigger(
ADI_FLAG_ID
ADI_FLAG_TRIGGER
);
Arguments
FlagID
Trigger
Return Value
ADI_FLAG_RESULT_SUCCESS
Any other value
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
Programmable Flag Service
function sets the trigger condition that gener-
function.
FlagID,
Trigger
Enumerator value that uniquely identifies the flag
whose callbacks are resumed
Trigger condition that generates the callback
Function completed successfully.
Error has occurred.
See
"ADI_FLAG_RESULT" on page 7-33
list of return codes.
for a
7-31
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?
Questions and answers