Analog Devices VisualDSP++ 5.0 Service Manual page 255

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

Advertisement

When using circular transfer mode, the client calls the
function with the following parameters:
• The channel handle. This is the value provided to the client during
the
adi_dma_Open()
• The starting address of the buffer. This value is the address in
memory where data is initially read from (when the transfer is for
outbound data), or the address in memory where data is initially
stored (when the transfer is for inbound data).
• The configuration word for the transfer. This 16-bit value
represents the DMA configuration register for the channel. The
DMA manager include file provides macros that allow the client to
quickly and easily create a configuration word. The client provides
values for the following fields within the configuration word.
WNR
(Transfer Direction)
DI_SEL
(Data Interrupt Timing
Select)
DI_EN
(Data Interrupt Enable)
• The
XCount
a single sub-buffer.
• The
XModify
values are 1, 2, and 4 only.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function.
ADI_DMA_WNR_READ
ADI_DMA_WNR_WRITE
ADI_DMA_DI_SEL_OUTER_LOOP
ADI_DMA_DI_SEL_INNER_LOOP
ADI_DMA_DI_EN_DISABLE
ADI_DMA_DI_EN_ENABLE
value. Set this parameter to the number of elements in
value. The width (in bytes) of an element. Allowed
DMA Manager
adi_dma_Buffer()
A transfer is for outbound data.
A transfer is for inbound data.
A callback is generated on
completion of whole buffer only.
A callback is generated on each
inner loop completion.
No callback will be generated.
Callbacks are generated according
the setting of
.
DI_SEL
6-15

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