adi_flag_SetDirection
Description
The
adi_flag_SetDirection
an output. If set as an input, any on-chip input buffer for the flag is also
enabled. If set as an output, any on-chip input buffer for the flag is
disabled.
Prototype
void adi_flag_SetDirection(
ADI_FLAG_ID
ADI_FLAG_DIRECTION
);
Arguments
FlagID
Direction
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 flag direction as an input or
FlagID,
Direction
Enumerator value that uniquely identifies the flag
to control
Direction to which the flag is configured
Function completed successfully.
Error has occurred.
See
"ADI_FLAG_RESULT" on page 7-33
list of return codes.
for a
7-21
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?