DMA_CfgDescrSGAlt_TypeDef Struct Reference
[DMA]

#include <em_dma.h>

Collaboration diagram for DMA_CfgDescrSGAlt_TypeDef:
Collaboration graph
[legend]

Data Fields

void * src
void * dst
DMA_DataInc_TypeDef dstInc
DMA_DataInc_TypeDef srcInc
DMA_DataSize_TypeDef size
DMA_ArbiterConfig_TypeDef arbRate
uint16_t nMinus1
uint8_t hprot
bool peripheral

Detailed Description

Configuration structure for alternate scatter-gather descriptor.

Definition at line 279 of file em_dma.h.


Field Documentation

Arbitration rate, ie number of DMA transfers done before rearbitration takes place.

Definition at line 300 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

Pointer to location to transfer data to.

Definition at line 285 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

Destination increment size for each DMA transfer

Definition at line 288 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

HPROT signal state, please refer to reference manual, DMA chapter for further details. Normally set to 0 if protection is not an issue. The following bits are available:

  • bit 0 - HPROT[1] control for source read accesses, privileged/non-privileged access
  • bit 3 - HPROT[1] control for destination write accesses, privileged/non-privileged access

Definition at line 314 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

Number of DMA transfers minus 1 to do. Must be <= 1023.

Definition at line 303 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

Specify if a memory or peripheral scatter-gather DMA cycle. Notice that this parameter should be the same for all alternate descriptors.

  • true - this is a peripheral scatter-gather cycle
  • false - this is a memory scatter-gather cycle

Definition at line 322 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

DMA transfer unit size.

Definition at line 294 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

Pointer to location to transfer data from.

Definition at line 282 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

Source increment size for each DMA transfer

Definition at line 291 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().


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