Flag Service API Reference
adi_flag_Open
Description
The
adi_flag_Open
specified flag to operate as a general-purpose I/O pin. Depending on the
specific Blackfin device, this function initializes any hardware necessary
for the operation of the flag. For example, on ADSP-BF534/536/537 pro-
cessors, this function configures the port control logic, via the port control
system service, for the flag to be used as a general-purpose I/O pin. On
ADSP-BF531/532/533 and ADSP-BF561 processors, this function does
nothing and simply returns to the caller.
Prototype
void adi_flag_Open(
ADI_FLAG_ID
);
Arguments
FlagID
Return Value
ADI_FLAG_RESULT_SUCCESS
Any other value
7-20
function configures any hardware necessary for the
FlagID
Enumerator value that uniquely identifies the flag to
open
Function completed successfully.
Error has occurred.
See
"ADI_FLAG_RESULT" on page 7-33
return codes.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
for a list of
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?