LL_DMA_DeInit
uint32_t LL_DMA_DeInit (DMA_TypeDef * DMAx, uint32_t
Stream)
De-initialize the DMA registers to their default reset values.
DMAx: DMAx Instance
Stream: This parameter can be one of the following values:
LL_DMA_STREAM_0
LL_DMA_STREAM_1
LL_DMA_STREAM_2
LL_DMA_STREAM_3
LL_DMA_STREAM_4
LL_DMA_STREAM_5
LL_DMA_STREAM_6
LL_DMA_STREAM_7
LL_DMA_STREAM_ALL
An: ErrorStatus enumeration value:
SUCCESS: DMA registers are de-initialized
ERROR: DMA registers are not de-initialized
LL_DMA_StructInit
void LL_DMA_StructInit (LL_DMA_InitTypeDef *
DMA_InitStruct)
Set each LL_DMA_InitTypeDef field to default value.
DMA_InitStruct: Pointer to a LL_DMA_InitTypeDef
structure.
55.3 DMA Firmware driver defines
55.3.1 DMA
CHANNEL
CURRENTTARGETMEM
Set CurrentTarget Memory to Memory 0
Set CurrentTarget Memory to Memory 1