DMA_CfgDescrSGAlt_TypeDef Struct ReferenceEMLIB > DMA

Configuration structure for alternate scatter-gather descriptor.

Definition at line 258 of file em_dma.h.

#include <em_dma.h>

Data Fields

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

Field Documentation

DMA_ArbiterConfig_TypeDef DMA_CfgDescrSGAlt_TypeDef::arbRate

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

Definition at line 278 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

void* DMA_CfgDescrSGAlt_TypeDef::dst

Pointer to location to transfer data to.

Definition at line 263 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

DMA_DataInc_TypeDef DMA_CfgDescrSGAlt_TypeDef::dstInc

Destination increment size for each DMA transfer

Definition at line 266 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

uint8_t DMA_CfgDescrSGAlt_TypeDef::hprot

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 292 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

uint16_t DMA_CfgDescrSGAlt_TypeDef::nMinus1

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

Definition at line 281 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

bool DMA_CfgDescrSGAlt_TypeDef::peripheral

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 300 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

DMA_DataSize_TypeDef DMA_CfgDescrSGAlt_TypeDef::size

DMA transfer unit size.

Definition at line 272 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

void* DMA_CfgDescrSGAlt_TypeDef::src

Pointer to location to transfer data from.

Definition at line 260 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().

DMA_DataInc_TypeDef DMA_CfgDescrSGAlt_TypeDef::srcInc

Source increment size for each DMA transfer

Definition at line 269 of file em_dma.h.

Referenced by DMA_CfgDescrScatterGather().


The documentation for this struct was generated from the following file:
  • C:/repos/embsw_super_h1/platform/emlib/inc/em_dma.h