Configuration structure for alternate scatter-gather descriptor.
Public Attributes#
Pointer to location to transfer data from.
Pointer to location to transfer data to.
Destination increment size for each DMA transfer.
Source increment size for each DMA transfer.
DMA transfer unit size.
Arbitration rate, i.e., number of DMA transfers done before re-arbitration takes place.
Number of DMA transfers minus 1 to do.
HPROT signal state, refer to reference manual, DMA chapter for further details.
Specify if a memory or peripheral scatter-gather DMA cycle.
Public Attribute Documentation#
src#
void* DMA_CfgDescrSGAlt_TypeDef::src
Pointer to location to transfer data from.
253
of file platform/emlib/inc/em_dma.h
dst#
void* DMA_CfgDescrSGAlt_TypeDef::dst
Pointer to location to transfer data to.
256
of file platform/emlib/inc/em_dma.h
dstInc#
DMA_DataInc_TypeDef DMA_CfgDescrSGAlt_TypeDef::dstInc
Destination increment size for each DMA transfer.
259
of file platform/emlib/inc/em_dma.h
srcInc#
DMA_DataInc_TypeDef DMA_CfgDescrSGAlt_TypeDef::srcInc
Source increment size for each DMA transfer.
262
of file platform/emlib/inc/em_dma.h
size#
DMA_DataSize_TypeDef DMA_CfgDescrSGAlt_TypeDef::size
DMA transfer unit size.
265
of file platform/emlib/inc/em_dma.h
arbRate#
DMA_ArbiterConfig_TypeDef DMA_CfgDescrSGAlt_TypeDef::arbRate
Arbitration rate, i.e., number of DMA transfers done before re-arbitration takes place.
271
of file platform/emlib/inc/em_dma.h
nMinus1#
uint16_t DMA_CfgDescrSGAlt_TypeDef::nMinus1
Number of DMA transfers minus 1 to do.
Must be <= 1023.
274
of file platform/emlib/inc/em_dma.h
hprot#
uint8_t DMA_CfgDescrSGAlt_TypeDef::hprot
HPROT signal state, 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.
285
of file platform/emlib/inc/em_dma.h
peripheral#
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.
293
of file platform/emlib/inc/em_dma.h