Adi_Dma_Init - 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_Init

Description
This function initializes a DMA manager.
Prototype
ADI_DMA_RESULT adi_dma_Init(
void
sizet
u32
ADI_DMA_MANAGER_HANDLE
void
);
Arguments
*pMemory
MemorySize
*pMaxChannels
*pManagerHandle
*pCriticalRegionArg
Return Value
This function returns
value indicates an error. Possible errors include:
ADI_DMA_RESULT_NOMEMORY
6-40
*pMemory,
MemorySize,
*pMaxChannels
*pManagerHandle,
*pCriticalRegionArg
Pointer to memory that the DMA can use
Size, in bytes, of the memory provided
Location in memory where the DMA manager stores the num-
ber of simultaneously open channels that can be supported
given the memory provided
Location in memory where the DMA manager stores the han-
dle to the DMA manager
Parameter that the DMA manager passes to the
adi_int_EnterCriticalRegion()
ADI_DMA_RESULT_SUCCESS
Insufficient memory is available to initialize the DMA
manager.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function
if successful; any other

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?

Questions and answers

Table of Contents