mode): DMA transfer requests are stopped when number of
DMA data transfers (number of ADC conversions) is reached.
This ADC mode is intended to be used with DMA mode non-
circular.Unlimited mode: DMA transfer requests are unlimited,
whatever number of DMA data transfers (number of ADC
conversions). This ADC mode is intended to be used with
DMA mode circular.
If ADC DMA requests mode is set to unlimited and DMA is set
to mode non-circular: when DMA transfers size will be
reached, DMA will stop transfers of ADC conversions data
ADC will raise an overrun error (overrun flag and interruption
if enabled).
How to retrieve multimode conversion data: Whatever
multimode transfer by DMA setting: using function
LL_ADC_REG_ReadMultiConversionData32(). If ADC
multimode transfer by DMA is selected: conversion data is a
raw data with ADC master and slave concatenated. A macro
is available to get the conversion data of ADC master or ADC
slave: see helper macro
__LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE().
Reference Manual to
LL API cross
reference:
CCR MDMA LL_ADC_SetMultiDMATransfer
CCR DDS LL_ADC_SetMultiDMATransfer
LL_ADC_GetMultiDMATransfer
__STATIC_INLINE uint32_t LL_ADC_GetMultiDMATransfer
(ADC_Common_TypeDef * ADCxy_COMMON)
Get ADC multimode conversion data transfer: no transfer or
transfer by DMA.
ADCxy_COMMON: ADC common instance (can be set
directly from CMSIS definition or by using helper macro
__LL_ADC_COMMON_INSTANCE() )
Returned: value can be one of the following values:
LL_ADC_MULTI_REG_DMA_EACH_ADC
LL_ADC_MULTI_REG_DMA_LIMIT_1
LL_ADC_MULTI_REG_DMA_LIMIT_2
LL_ADC_MULTI_REG_DMA_LIMIT_3
LL_ADC_MULTI_REG_DMA_UNLMT_1
LL_ADC_MULTI_REG_DMA_UNLMT_2
LL_ADC_MULTI_REG_DMA_UNLMT_3
If ADC multimode transfer by DMA is not selected: each ADC
uses its own DMA channel, with its individual DMA transfer
settings. If ADC multimode transfer by DMA is selected: One
DMA channel is used for both ADC (DMA of ADC master)
Specifies the DMA requests mode: Limited mode (One shot
mode): DMA transfer requests are stopped when number of
DMA data transfers (number of ADC conversions) is reached.
This ADC mode is intended to be used with DMA mode non-
circular.Unlimited mode: DMA transfer requests are unlimited,
whatever number of DMA data transfers (number of ADC
conversions). This ADC mode is intended to be used with