Datasheet

254
2545T–AVR–05/11
ATmega48/88/168
Figure 24-12. Integral non-linearity (INL).
Differential Non-linearity (DNL): The maximum deviation of the actual code width (the interval
between two adjacent transitions) from the ideal code width (1LSB). Ideal value: 0LSB
Figure 24-13. Differential non-linearity (DNL).
Quantization Error: Due to the quantization of the input voltage into a finite number of codes, a
range of input voltages (1LSB wide) will code to the same value. Always ±0.5LSB
Absolute accuracy: The maximum deviation of an actual (unadjusted) transition compared to
an ideal transition for any code. This is the compound effect of offset, gain error, differential
error, non-linearity, and quantization error. Ideal value: ±0.5LSB
Output code
V
REF
Input voltage
Ideal ADC
Actual ADC
INL
Output code
0x3FF
0x000
0
V
REF
Input voltage
DNL
1 LSB