to use for the next callback that is installed. This function does not alter
flag control, such as direction. Refer also to
on page
7-28.
adi_flag_SuspendCallbacks
The
adi_flag_SuspendCallbacks()
suspend callbacks for a given flag but does not uninstall the callback.
This function is typically used in conjunction with the
adi_flag_ResumeCallbacks
"adi_flag_SuspendCallbacks" on page
adi_flag_ResumeCallbacks
The
adi_flag_ResumeCallbacks()
that were suspended by the
also to
"adi_flag_ResumeCallbacks" on page
adi_flag_SetTrigger
The
adi_flag_SetTrigger()
triggers 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
venience for users who want an extra measure of control on callbacks.
Refer also to
"adi_flag_SetTrigger" on page
Coding Example
This section describes the code required to implement a simple example
using the flag service. This example initializes the flag service, configures
one flag for input, and configures another flag for output. The example
illustrates how the output flag is controlled and then illustrates how a call-
back function is used to sense changes on a flag. All flag service functions
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
Programmable Flag Service
"adi_flag_RemoveCallback"
function is used to temporarily
function. Refer also to
7-29.
function is used to re-enable callbacks
adi_flag_SuspendCallbacks
7-30.
function sets the condition on a flag that
function. This function is provided as a con-
7-31.
function. Refer
7-9
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?