HAL
ADC_CR1_DISCONTINUOUS is only used within HAL.
 
Symbols
loading...
Files
loading...

ADC_CR1_DISCONTINUOUS macro

Configures the number of discontinuous conversions for the regular group channels.

Syntax

#define ADC_CR1_DISCONTINUOUS(_NBR_DISCONTINUOUSCONV_) (((_NBR_DISCONTINUOUSCONV_) - 1U) << ADC_CR1_DISCNUM_Pos)

Arguments

_NBR_DISCONTINUOUSCONV_

Number of discontinuous conversions.

Return value

None

References

LocationText
stm32f4xx_hal_adc.h:841
#define ADC_CR1_DISCONTINUOUS(_NBR_DISCONTINUOUSCONV_) (((_NBR_DISCONTINUOUSCONV_) - 1U) << ADC_CR1_DISCNUM_Pos)
stm32f4xx_hal_adc.c:1967
hadc->Instance->CR1 |= ADC_CR1_DISCONTINUOUS(hadc->Init.NbrOfDiscConversion);