• A count of the number of elements copied
• The address of the callback function to be called when the transfer
is complete. The invocation of the callback function depends on
the callback service handle value that was supplied to the stream
when it was opened, either deferred or live.
If the
adi_dma_MemoryCopy()
the callback function address, the transfer occurs synchronously
and the
client until the transfer is complete. No callbacks are made in this
case.
Two-Dimensional Transfers
Two-dimensional (matrix) memory transfers are handled by calling the
adi_dma_MemoryCopy2D()
provides the following parameters:
• The stream handle. This is the value provided to the client during
the
adi_dma_MemoryOpen()
• A pointer to a data structure (of type
defines how data is stored into the destination memory
• A pointer to a data structure (of type
defines how data is read from the source memory
• The width of each element (in bytes) copied. The DMA manager
uses this value to schedule 8-, 16-, or 32-bit transfers.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
adi_dma_MemoryCopy()
function. When calling this function, the client
function is passed a NULL value for
function does not return to the
function.
ADI_DMA_2D_TRANSFER
ADI_DMA_2D_TRANSFER
DMA Manager
) that
) that
6-9
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?