HAL + 0/4 examples
CodeScope will show references to LL_ADC_REG_SetDMATransfer() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_ADC_REG_SetDMATransfer()

LL_ADC_REG_SetDMATransfer() function

Set ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode.

Syntax

__STATIC_INLINE void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx,     uint32_t DMATransfer);

Arguments

ADCx

ADC instance

DMATransfer

This parameter can be one of the following values: @arg LL_ADC_REG_DMA_TRANSFER_NONE @arg LL_ADC_REG_DMA_TRANSFER_LIMITED @arg LL_ADC_REG_DMA_TRANSFER_UNLIMITED

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.

References

LocationText
stm32f4xx_ll_adc.h:2668
__STATIC_INLINE void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx, uint32_t DMATransfer)

Data Use

Data read by LL_ADC_REG_SetDMATransfer()
LL_ADC_REG_SetDMATransfer()