DMA_CfgChannel_TypeDef Struct Reference
[DMA]

#include <em_dma.h>

Collaboration diagram for DMA_CfgChannel_TypeDef:
Collaboration graph
[legend]

Data Fields

bool highPri
bool enableInt
uint32_t select
DMA_CB_TypeDefcb
 User definable callback handling configuration.

Detailed Description

Configuration structure for a channel.

Definition at line 172 of file em_dma.h.


Field Documentation

User definable callback handling configuration.

Please refer to structure definition for details. The callback is invoked when the specified DMA cycle is complete (when dma_done signal asserted). The callback is invoked in interrupt context, and should be efficient and non-blocking. Set to NULL to not use the callback feature.

Note:
The referenced structure is used by the interrupt handler, and must be available until no longer used. Thus, in most cases it should not be located on the stack.

Definition at line 210 of file em_dma.h.

Referenced by DMA_CfgChannel().

Select if interrupt shall be enabled for channel (triggering interrupt handler when dma_done signal is asserted). It should normally be enabled if using the callback feature for a channel, and disabled if not using the callback feature.

Definition at line 187 of file em_dma.h.

Referenced by DMA_CfgChannel().

Select if channel priority is in the high or default priority group with respect to arbitration. Within a priority group, lower numbered channels have higher priority than higher numbered channels.

Definition at line 179 of file em_dma.h.

Referenced by DMA_CfgChannel().

Channel control specifying the source of DMA signals. If accessing peripherals, use one of the DMAREQ_nnn defines available for the peripheral. Set it to 0 for memory-to-memory DMA cycles.

Definition at line 194 of file em_dma.h.

Referenced by DMA_CfgChannel().


The documentation for this struct was generated from the following file: