AI Interactive Datasheet ATtiny5
AVR · tinyAVR

ATtiny5 interrupt vectors

The 11 vectors at the start of flash, one word each (an RJMP). A lower number has the higher priority; vector 0 is reset. In avr-gcc a handler is ISR(NAME_vect).

VectorProgram addressNameHandlerSource
00x0000RESET reset: main() after start-upExternal Reset, Power-on Reset and Watchdog Reset
10x0001INT0 INT0_vectExternal Interrupt Request 0
20x0002PCINT0 PCINT0_vectPin Change Interrupt Request 0
30x0003TIM0_CAPT TIM0_CAPT_vectTimer/Counter0 Input Capture
40x0004TIM0_OVF TIM0_OVF_vectTimer/Counter0 Overflow
50x0005TIM0_COMPA TIM0_COMPA_vectTimer/Counter Compare Match A
60x0006TIM0_COMPB TIM0_COMPB_vectTimer/Counter Compare Match B
70x0007ANA_COMP ANA_COMP_vectAnalog Comparator
80x0008WDT WDT_vectWatchdog Time-out
90x0009VLM VLM_vectVcc Voltage Level Monitor
100x000AADC ADC_vectADC Conversion Complete