ATTINY85-20SU Atmel, ATTINY85-20SU Datasheet - Page 51

IC AVR MCU 8K 20MHZ 8SOIC

ATTINY85-20SU

Manufacturer Part Number
ATTINY85-20SU
Description
IC AVR MCU 8K 20MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY85-20SU

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
Processor Series
ATTINY8x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
USI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
6
Number Of Timers
2
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
4-ch x 10-bit
For Use With
ATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIPATAVRBC100 - REF DESIGN KIT BATTERY CHARGER770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAG770-1004 - ISP 4PORT FOR ATMEL AVR MCU SPIATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVRATAVRISP2 - PROGRAMMER AVR IN SYSTEM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY85-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
9.2
9.2.1
2586M–AVR–07/10
External Interrupts
Low Level Interrupt
The External Interrupts are triggered by the INT0 pin or any of the PCINT[5:0] pins. Observe
that, if enabled, the interrupts will trigger even if the INT0 or PCINT[5:0] pins are configured as
outputs. This feature provides a way of generating a software interrupt. Pin change interrupts
PCI will trigger if any enabled PCINT[5:0] pin toggles. The PCMSK Register control which pins
contribute to the pin change interrupts. Pin change interrupts on PCINT[5:0] are detected asyn-
chronously. This implies that these interrupts can be used for waking the part also from sleep
modes other than Idle mode.
The INT0 interrupts can be triggered by a falling or rising edge or a low level. This is set up as
indicated in the specification for the MCU Control Register – MCUCR. When the INT0 interrupt is
enabled and is configured as level triggered, the interrupt will trigger as long as the pin is held
low. Note that recognition of falling or rising edge interrupts on INT0 requires the presence of an
I/O clock, described in
A low level interrupt on INT0 is detected asynchronously. This implies that this interrupt can be
used for waking the part also from sleep modes other than Idle mode. The I/O clock is halted in
all sleep modes except Idle mode.
Note that if a level triggered interrupt is used for wake-up from Power-down, the required level
must be held long enough for the MCU to complete the wake-up to trigger the level interrupt. If
the level disappears before the end of the Start-up Time, the MCU will still wake up, but no inter-
rupt will be generated. The start-up time is defined by the SUT and CKSEL Fuses as described
in
If the low level on the interrupt pin is removed before the device has woken up then program
execution will not be diverted to the interrupt service routine but continue from the instruction fol-
lowing the SLEEP command.
“System Clock and Clock Options” on page
0x000A
0x000B
0x000C
0x000D
0x000E
0x000F
0x0010
0x0011
0x0012
0x0013
0x0014
...
RESET: ldi
...
<instr>
rjmp
rjmp
rjmp
rjmp
rjmp
ldi
out
out
sei
“Clock Systems and their Distribution” on page
...
xxx
...
TIM0_COMPA
TIM0_COMPB
WDT
USI_START
USI_OVF
r16, low(RAMEND); Main program start
r17, high(RAMEND); Tiny45/85 also has SPH
SPL, r16
SPH, r17
23.
;
;
;
;
;
; Set Stack Pointer to top of RAM
; Tiny45/85 als has SPH
; Enable interrupts
23.
51

Related parts for ATTINY85-20SU