90
8126F–AVR–05/12
ATtiny13A
• Offset: The deviation of the first transition (0x000 to 0x001) compared to the ideal transition
(at 0.5 LSB). Ideal value: 0 LSB.
Figure 14-9.
Offset Error
• Gain Error: After adjusting for offset, the Gain Error is found as the deviation of the last
transition (0x3FE to 0x3FF) compared to the ideal transition (at 1.5 LSB below maximum).
Ideal value: 0 LSB
Figure 14-10.
Gain Error
O
u
tp
u
t Code
V
REF
Inp
u
t Volt
a
ge
Ide
a
l ADC
Act
ua
l ADC
Off
s
et
Error
O
u
tp
u
t Code
V
REF
Inp
u
t Volt
a
ge
Ide
a
l ADC
Act
ua
l ADC
G
a
in
Error