ADC Voltage Reference

The reference voltage for the ADC (VREF) indicates the conversion range, which in this case is limited to 0V (VGND) and VREF = Vcc. Single ended channels that exceed VREF will result in codes close to 0xFF.