Analog Devices VisualDSP++ 5.0 Service Manual page 278

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

DMA Manager API Reference
The set of commands that can be issued using the
function is defined in
Prototype
ADI_DMA_RESULT adi_dma_Control(
ADI_DMA_CHANNEL_HANDLE
ADI_DMA_CM
void
);
Arguments
ChannelHandle
Command
Value
Return Value
ADI_DMA_RESULT_SUCCESS
ADI_DMA_RESULT_BAD_COMMAND
ADI_DMA_RESULT_ALREADY_RUNNING
6-38
"DMA Commands" on page
Uniquely identifies the DMA channel the buffer is assigned to and is the
value returned when the DMA channel is opened
enumeration value. See
ADI_DMA_CMD
a full list of commands.
Depending on the value for
If
has the value
Command
the system issues the address of a single
ADI_DMA_CMD_VALUE_PAIR
If
has the value
Command
the address of an array of
specifying one or more commands. The last entry in the table must
be
{ADI_DMA_CMD_END,NULL}
For any other value,
cessed and
Value
case of a command that queries a value, the value of the setting is
stored at the location pointed to by the pointer
Function completed successfully.
Command is invalid. Either a bad command or a spe-
cific command is not allowed in this context.
Commands could not be performed as the channel is
currently transferring data.
VisualDSP++ 5.0 Device Drivers and System
adi_dma_Control
6-62.
ChannelHandle,
Command,
*Value
"DMA Commands" on page 6-62
, this parameter is one of the following:
Command
ADI_DMA_CM_VALUE_PAIR
element specifying the command.
ADI_DMA_CMD_TABLE
ADI_DMA_CMD_VALUE_PAIR
.
specifies the command to be pro-
Command
is the associated value for the command. In the
Services Manual for Blackfin Processors
for
,
, the system issues
elements
.
Value

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Table of Contents