ATTINY13-20SU Atmel, ATTINY13-20SU Datasheet - Page 44

IC MCU AVR 1K FLASH 20MHZ 8SOIC

ATTINY13-20SU

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

Specifications of ATTINY13-20SU

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
1KB (512 x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
64 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
Package
8SOIC EIAJ
Device Core
AVR
Family Name
ATtiny
Maximum Speed
20 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
6
Interface Type
SPI
On-chip Adc
4-chx10-bit
Number Of Timers
1
For Use With
ATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIP770-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 SYSTEMATJTAGICE2 - AVR ON-CHIP D-BUG SYSTEM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
9. Interrupts
9.1
44
Interrupt Vectors
ATtiny13
This section describes the specifics of the interrupt handling as performed in ATtiny13. For a
general explanation of the AVR interrupt handling, refer to
page
The interrupt vectors of ATtiny13 are described in
Table 9-1.
If the program never enables an interrupt source, the Interrupt Vectors are not used, and regular
program code can be placed at these locations.
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATtiny13 is:
Vector No.
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
;
0x000A
0x000B
0x000C
0x000D
12.
...
10
1
2
3
4
5
6
7
8
9
RESET: ldi
Reset and Interrupt Vectors
...
out
<instr>
Program Address
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
sei
...
SPL,r16
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
xxx
...
RESET
EXT_INT0
PCINT0
TIM0_OVF
EE_RDY
ANA_COMP
TIM0_COMPA
TIM0_COMPB
WATCHDOG
ADC
r16, low(RAMEND); Main program start
Source
RESET
INT0
PCINT0
TIM0_OVF
EE_RDY
ANA_COMP
TIM0_COMPA
TIM0_COMPB
WDT
ADC
Comments
; Reset Handler
; IRQ0 Handler
; PCINT0 Handler
; Timer0 Overflow Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; Timer0 CompareA Handler
; Timer0 CompareB Handler
; Watchdog Interrupt Handler
; ADC Conversion Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
Table 9-1
below.
“Reset and Interrupt Handling” on
External Pin, Power-on Reset,
Brown-out Reset, Watchdog Reset
External Interrupt Request 0
Pin Change Interrupt Request 0
Timer/Counter Overflow
EEPROM Ready
Analog Comparator
Timer/Counter Compare Match A
Timer/Counter Compare Match B
Watchdog Time-out
ADC Conversion Complete
Interrupt Definition
2535J–AVR–08/10

Related parts for ATTINY13-20SU