29.3.2.4.2 ADC Voltage Reference

The reference voltage for the ADC (VREF) controls the conversion range of the ADC. Input voltages that exceed the selected VREF will be converted to the maximum result value of the ADC. For an ideal 10-bit ADC, this value is 0x3FF.

VREF can be selected by writing the Reference Selection (REFSEL) bit field in the Control C (ADCn.CTRLC) register as either VDD or an internal reference from the VREF peripheral. VDD is connected to the ADC through a passive switch.

The internal reference is generated from an internal band gap reference through an internal amplifier, controlled by the Voltage Reference (VREF) peripheral.