
82
ATtiny4/5/9/10 [DATASHEET]
8127F–AVR–02/2013
13. Analog to Digital Converter
13.1
Features
8-bit Resolution
0.5 LSB Integral Non-linearity
± 1 LSB Absolute Accuracy
65s Conversion Time
15 kSPS at Full Resolution
Four Multiplexed Single Ended Input Channels
Input Voltage Range: 0 – V
CC
Supply Voltage Range: 2.5V – 5.5V
Free Running or Single Conversion Mode
ADC Start Conversion by Auto Triggering on Interrupt Sources
Interrupt on ADC Conversion Complete
Sleep Mode Noise Canceler
13.2
Overview
ATtiny5/10 feature an 8-bit, successive approximation ADC. The ADC is connected to a 4-channel analog multi-
plexer which allows four single-ended voltage inputs constructed from the pins of port B. The single-ended voltage
inputs refer to 0V (GND).
The ADC contains a Sample-and-Hold-circuit, which ensures that the input voltage to the ADC is held at a constant
Internal reference voltage of V
CC is provided on-chip.
The ADC is not available in ATtiny4/9.
13.3
Operation
In order to be able to use the ADC the Power Reduction bit, PRADC, in the Power Reduction Register must be dis-
details.
Input channel selections will not go into effect until ADEN is set. The ADC does not consume power when ADEN is
cleared, so it is recommended to switch off the ADC before entering power saving sleep modes.
The ADC converts an analog input voltage to an 8-bit digital value using successive approximation. The minimum
value represents GND and the maximum value represents the voltage on V
CC.
on page 92. Any of the ADC input pins can be selected as single ended inputs to the ADC.
The ADC has its own interrupt request which can be triggered when a conversion completes.