ATTINY85-20SH Atmel, ATTINY85-20SH Datasheet - Page 64

IC MCU AVR 8KB FLASH 20MHZ 8SOIC

ATTINY85-20SH

Manufacturer Part Number
ATTINY85-20SH
Description
IC MCU AVR 8KB FLASH 20MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY85-20SH

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
64
ATtiny25/45/85
• Port B, Bit 0 – MOSI/AIN0/OC0A/OC1A/DI/SDA/AREF/PCINT0
• AIN1: Analog Comparator Negative Input. Configure the port pin as input with the internal
• OC0B: Output Compare Match output. The PB1 pin can serve as an external output for the
• OC1A: Output Compare Match output: The PB1 pin can serve as an external output for the
• DO: Three-wire mode Universal Serial Interface Data output. Three-wire mode Data output
• PCINT1: Pin Change Interrupt source 1.
• MOSI: SPI Master Data output, Slave Data input for SPI channel. When the SPI is enabled
• AIN0: Analog Comparator Positive Input. Configure the port pin as input with the internal pull-
• OC0A: Output Compare Match output. The PB0 pin can serve as an external output for the
• OC1A: Inverted Output Compare Match output: The PB0 pin can serve as an external output
• SDA: Two-wire mode Serial Interface Data.
• AREF: External Analog Reference for ADC. Pullup and output driver are disabled on PB0
• DI: Data Input in USI Three-wire mode. USI Three-wire mode does not override normal port
• PCINT0: Pin Change Interrupt source 0.
pull-up switched off to avoid the digital port function from interfering with the function of the
Analog Comparator.
Timer/Counter0 Compare Match B. The PB1 pin has to be configured as an output (DDB1
set (one)) to serve this function. The OC0B pin is also the output pin for the PWM mode timer
function.
Timer/Counter1 Compare Match B when configured as an output (DDB1 set). The OC1A pin
is also the output pin for the PWM mode timer function.
overrides PORTB1 value and it is driven to the port when data direction bit DDB1 is set (one).
PORTB1 still enables the pull-up, if the direction is input and PORTB1 is set (one).
as a Slave, this pin is configured as an input regardless of the setting of DDB0. When the SPI
is enabled as a Master, the data direction of this pin is controlled by DDB0. When the pin is
forced by the SPI to be an input, the pull-up can still be controlled by the PORTB0 bit.
up switched off to avoid the digital port function from interfering with the function of the
Analog Comparator.
Timer/Counter0 Compare Match A when configured as an output (DDB0 set (one)). The
OC0A pin is also the output pin for the PWM mode timer function.
for the Timer/Counter1 Compare Match B when configured as an output (DDB0 set). The
OC1A pin is also the inverted output pin for the PWM mode timer function.
when the pin is used as an external reference or Internal Voltage Reference with external
capacitor at the AREF pin.
functions, so pin must be configure as an input for DI function.
2586M–AVR–07/10

Related parts for ATTINY85-20SH