4.4 ADC Input Configuration
Both voltages VTEMP and VBG are routed to the ADC channel 31. For these two voltages, the ADC should perform single-ended conversions. The ADC_ACR.SRCLCH bit toggles the input selection between VTEMP and VBG.
- Clear ADC_CCR.DIFF15 to set ADC channel 31 to Single-Ended mode, and either
- Clear ADC_ACR.SRCLCH to sample the VTEMP voltage, or
- Set ADC_ACR.SRCLCH to sample the VBG voltage.