Sensing a Mapping
The client calls the
channel ID to which a peripheral is mapped. The
function takes the following parameters:
• The peripheral ID. This value, an
the peripheral whose mapping is detected.
• Pointer to an
of a location in memory into which the function stores the channel
ID to which the given peripheral is mapped.
Setting a Mapping
The client calls the
a given channel ID to a given peripheral. The client should take care to
ensure that a one-to-one mapping exists between peripherals and channel
IDs. The
adi_dma_SetMapping()
• The peripheral ID. This value, an
the peripheral whose mapping is set.
• The channel ID. This value, an
enumerates the DMA channel to which the given peripheral is
mapped.
Interrupts
The DMA manager uses the services of the interrupt manager to configure
all DMA-related interrupts. All hooking of interrupts is isolated into the
adi_dma_Open()
of interrupts occurs in the
functions.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
adi_dma_GetMapping()
ADI_DMA_CHANNEL_ID
adi_dma_SetMapping()
function takes the following parameters:
and
adi_dma_MemoryOpen()
adi_dma_Close()
DMA Manager
function to detect the DMA
adi_dma_GetMapping()
type, enumerates
ADI_DMA_PMAP
value. This value is the address
function to set the mapping of
type, enumerates
ADI_DMA_PMAP
ADI_DMA_CHANNEL_ID
functions, and all unhooking
and
adi_dma_MemoryClose()
value,
6-27
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?
Questions and answers