ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 124

no-image

ATtiny25 Automotive

Manufacturer Part Number
ATtiny25 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny25 Automotive

Flash (kbytes)
2 Kbytes
Pin Count
8
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
18.7.6
124
ATtiny25/45/85
ADC Control and Status Register A – ADCSRA
• Bits 3:0 – MUX3:0: Analog Channel and Gain Selection Bits
The value of these bits selects which combination of analog inputs are connected to the ADC. In
case of differential input (ADC0 - ADC1 or ADC2 - ADC3), gain selection is also made with these
bits. Selecting ADC2 or ADC0 as both inputs to the differential gain stage enables offset mea-
surements. Selecting the single-ended channel ADC4 enables the temperature sensor. Refer to
Table 18-4
effect until this conversion is complete (ADIF in ADCSRA is set).
Table 18-4.
1.
2.
• Bit 7 – ADEN: ADC Enable
Writing this bit to one enables the ADC. By writing it to zero, the ADC is turned off. Turning the
ADC off while a conversion is in progress, will terminate this conversion.
• Bit 6 – ADSC: ADC Start Conversion
In Single Conversion mode, write this bit to one to start each conversion. In Free Running mode,
write this bit to one to start the first conversion.
Bit
Read/Write
Initial Value
MUX3..0
0101
0000
0001
0010
0011
0100
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
For offset calibration only .
For Temperature Sensor
(1)
for details. If these bits are changed during a conversion, the change will not go into
ADEN
R/W
Input Channel Selections
7
0
ADSC
Single Ended
R/W
ADC0 (PB5)
ADC1 (PB2)
ADC2 (PB4)
ADC3 (PB3)
6
0
1.1V/2.56V
ADC4
Input
N/A
N/A
0V
ADATE
R/W
(2)
5
0
See “Operation” on page 112.
ADIF
R/W
4
0
Differential Input
ADC2 (PB3)
ADC2 (PB3)
ADC2 (PB3)
ADC2 (PB3)
ADC0 (PB5)
ADC0 (PB5)
ADC0 (PB5)
ADC0 (PB5)
Positive
ADIE
R/W
3
0
ADPS2
R/W
2
0
Differential Input
ADC2 (PB3)
ADC2 (PB3)
ADC3 (PB4)
ADC3 (PB4)
ADC0 (PB5)
ADC0 (PB5)
ADC1 (PB2)
ADC1 (PB2)
ADPS1
R/W
Negative
1
0
N/A
N/A
ADPS0
R/W
0
0
ADCSRA
7598H–AVR–07/09
Gain
20x
20x
20x
20x
1x
1x
1x
1x

Related parts for ATtiny25 Automotive