LL_ADC_REG_SetDMATransfer() function
Set ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode.
Arguments
ADCx
ADC instance
DMATransfer
Return value
None
Notes
If transfer by DMA selected, 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 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). For devices with several ADC instances: ADC multimode DMA settings are available using function LL_ADC_SetMultiDMATransfer(). To configure DMA source address (peripheral address), use function LL_ADC_DMA_GetRegAddr(). CR2 DDS LL_ADC_REG_SetDMATransfer
Examples
LL_ADC_REG_SetDMATransfer() is referenced by
4 libraries and example projects.
Data read by LL_ADC_REG_SetDMATransfer()
LL_ADC_REG_SetDMATransfer()