30.3.2.5 ADC Conversion Result

After the conversion is complete (RESRDY is ‘1’), the conversion result RES is available in the ADC Result (ADCn.RES) register. The result of a 10-bit conversion is given as follows:

RES = 1023 × V IN V REF

where VIN is the voltage on the selected input pin and VREF the selected voltage reference (see description for REFSEL in ADCn.CTRLC and ADCn.MUXPOS).