The basic principle of STM32 ADC
Features of ADC
Chip with 3 ADC controllers
Correspondence of each pin of ADc channel
ADC working principle
ADC channel group
规则通道组:相当正常运行的程序。最多16个通道。
① The rule channel and its conversion sequence are selected in the ADC_SQRx register, and
the total number of rule group conversions should be written into L[3:0] of the ADC_SQR1 register
② Injection channel group: equivalent to interrupt. Up to 4 channels.
The injection group and its conversion sequence are selected in the ADC_JSQR register.
The total number of conversions in the injection group should be written into L[1:0] of the ADC_JSQR register
ADC conversion mode
The ADC channel of STM32 can perform single conversion, continuous conversion, and scan conversion