ATTINY45-15SZ Atmel, ATTINY45-15SZ Datasheet - Page 124

MCU AVR 4K FLASH 15MHZ 8-SOIC

ATTINY45-15SZ

Manufacturer Part Number
ATTINY45-15SZ
Description
MCU AVR 4K FLASH 15MHZ 8-SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY45-15SZ

Package / Case
8-SOIC (3.9mm Width)
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Speed
16MHz
Number Of I /o
6
Eeprom Size
256 x 8
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
256 x 8
Program Memory Size
4KB (4K x 8)
Data Converters
A/D 4x10b
Oscillator Type
Internal
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Connectivity
USI
Core Size
8-Bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY45-15SZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
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 ATTINY45-15SZ