Adi_Dma_Queue - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

DMA Manager API Reference

adi_dma_Queue

Description
This function queues a descriptor or chain of descriptors to the specified
DMA channel.
When using descriptor chains, the descriptor is added to the end of the list
of descriptors already queued to the channel, if any. The last descriptor in
the chain must have its
Prototype
ADI_DMA_RESULT adi_dma_Queue(
ADI_DMA_CHANNEL_HANDLE
ADI_DMA_DESCRIPTOR_HANDLE
);
Arguments
ChannelHandle
DescriptorHandle
Return Value
ADI_DMA_RESULT_SUCCESS
ADI_DMA_RESULT_BAD_HANDLE
ADI_DMA_RESULT_BAD_DESCRIPTOR
ADI_DMA_RESULT_ALREADY_RUNNING
6-50
pointer set to NULL.
pNext
ChannelHandle,
DescriptorHandle
Uniquely identifies the DMA channel that the descrip-
tor is queued on and is the value returned when the
DMA channel is opened
Pointer to the first descriptor in the chain
Descriptor was queued successfully.
ChannelHandle
dle.
Descriptor handle is NULL.
Cannot submit additional descriptors to a channel
configured for a loopback with dataflow enabled.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
does not contain a valid channel han-

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?

Subscribe to Our Youtube Channel

Table of Contents