Flag Control Functions
The functions described in this section control operation of each flag.
adi_flag_Open
The
adi_flag_Open()
control functions. Depending on the specific Blackfin device, this func-
tion initializes any hardware necessary for the operation of the flag. For
example, on ADSP-BF534/536/537 processors, this function configures
the port control logic, via the port control system service, for the flag used
as a general-purpose I/O pin. On ADSP-BF561 and
ADSP-BF531/532/533 processors, this function does nothing and simply
returns to the caller. Refer also to
adi_flag_Close
When a flag is no longer needed, the
to close and shut down the flag. At present, for all Blackfin processors, this
function does nothing but returns immediately to the caller. Future Black-
fin devices may require this function to manipulate the hardware in some
way when closing a flag. Refer also to
adi_flag_SetDirection
Flags can be configured as inputs or outputs. The
adi_flag_SetDirection()
either an input or an output. This function does not change the value of a
flag. Refer also to
adi_flag_Set
When configured as an output, the
value of the flag to a logical 1, driving high. Refer also to
on page
7-23.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function is called prior to any of the individual flag
"adi_flag_Open" on page
function is used to set the direction of a flag as
"adi_flag_SetDirection" on page
adi_flag_Set()
Programmable Flag Service
adi_flag_Close()
"adi_flag_Close" on page
7-21.
function sets the
7-20.
function is called
7-17.
"adi_flag_Set"
7-5
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?