Hello,
In most AVR datasheets (at least those i have read), the A/D result equation is:
ADC = (Vin * 1024) / Vref
If Vin = Vref then the ADC result, according to the above equation, is ADC = 1024 which is not correct.
Is there something i'm missing or it is a known datasheet error?