HAL
LL_ADC_REG_GetDMATransfer() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_ADC_REG_GetDMATransfer()

LL_ADC_REG_GetDMATransfer() function

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

Syntax

__STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransfer(ADC_TypeDef *ADCx);

Arguments

ADCx

ADC instance

Return value

Returned value 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

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_GetMultiDMATransfer(). To configure DMA source address (peripheral address), use function LL_ADC_DMA_GetRegAddr(). CR2 DDS LL_ADC_REG_GetDMATransfer

References

LocationText
stm32f4xx_ll_adc.h:2703
__STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransfer(ADC_TypeDef *ADCx)

Data Use

Data read by LL_ADC_REG_GetDMATransfer()
LL_ADC_REG_GetDMATransfer()
Type of LL_ADC_REG_GetDMATransfer()
LL_ADC_REG_GetDMATransfer()
uint32_t
all items filtered out