Adi_Dma_Close - 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_Close

Description
This function closes a DMA channel and releases the configuration mem-
ory for further use. Depending on the value of the
channel is closed immediately or is closed after ongoing transfers have
completed.
Prototype
ADI_DMA_RESULT adi_dma_Close(
ADI_DMA_CHANNEL_HANDLE
u32
);
Arguments
ChannelHandle
WaitFlag
Return Value
ADI_DMA_RESULT_SUCCESS
ADI_DMA_RESULT_BAD_HANDLE
ADI_DMA_RESULT_CANT_UNHOOK_INTERRUPT
6-36
ChannelHandle,
WaitFlag
Uniquely identifies the DMA channel to close and is the
value returned when the DMA channel is opened
If set to
, instructs the DMA manager to wait for
TRUE(1)
ongoing transfers to complete before closing the channel;
otherwise, if set to
FALSE(0)
ately, terminating any ongoing transfers.
DMA channel successfully closed.
ChannelHandle
valid channel.
Data handler and/or error handler can-
not be unhooked.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
argument, the
WaitFlag
, the channel is closed immedi-
does not point to a

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