Table 5. Reset and Interrupt Vectors
Vector No.
Device
1
ATtiny10/11
1
ATtiny12
2
ATtiny10/11/12
3
ATtiny10/11/12
4
ATtiny10/11/12
5
ATtiny10/11
5
ATtiny12
6
ATtiny12
The most typical and general program setup for the reset and interrupt vector addresses for the ATtiny10/11 are:
Address
Labels
Code
$000
rjmp
$001
rjmp
$002
rjmp
$003
rjmp
$004
rjmp
;
$005
MAIN:
<instr>
...
...
The most typical and general program setup for the reset and interrupt vector addresses for the ATtiny12 are:
Address
Labels
Code
$000
rjmp
$001
rjmp
$002
rjmp
$003
rjmp
$004
rjmp
$005
rjmp
;
$006
MAIN:
<instr>
...
...
ATtiny10/11/12
16
Program Address
$000
$000
$001
$002
$003
$004
$004
$005
Comments
RESET
; Reset handler
EXT_INT0
; IRQ0 handler
PIN_CHANGE
; Pin change handler
TIM0_OVF
; Timer0 overflow handler
ANA_COMP
; Analog Comparator handler
xxx
; Main program start
...
...
Comments
RESET
; Reset handler
EXT_INT0
; IRQ0 handler
PIN_CHANGE
; Pin change handler
TIM0_OVF
; Timer0 overflow handler
EE_RDY
; EEPROM Ready handler
ANA_COMP
; Analog Comparator handler
xxx
; Main program start
...
...
Source
Interrupt Definition
External Pin, Power-on Reset and
RESET
Watchdog Reset
External Pin, Power-on Reset, Brown-out
RESET
Reset and Watchdog Reset
INT0
External Interrupt Request 0
I/O Pins
Pin Change Interrupt
TIMER0, OVF0
Timer/Counter0 Overflow
ANA_COMP
Analog Comparator
EE_RDY
EEPROM Ready
ANA_COMP
Analog Comparator
Need help?
Do you have a question about the AVR ATtiny10 Series and is the answer not in the manual?