Datasheet

ATmega164A/PA/324A/PA/644A/PA/1284/P
2018 Microchip Technology Inc. Data Sheet Complete DS40002070A-page 254
Figure 23-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 23-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