ATTINY26L8SU SL383 Atmel, ATTINY26L8SU SL383 Datasheet - Page 59

no-image

ATTINY26L8SU SL383

Manufacturer Part Number
ATTINY26L8SU SL383
Description
MCU 8-Bit ATtiny AVR RISC 2KB Flash 3.3V/5V 20-Pin SOIC T/R
Manufacturer
Atmel
Datasheet
Interrupts
Interrupt Vectors
1477J–AVR–06/07
The ATtiny26(L) provides eleven interrupt sources. These interrupts and the separate
Reset Vector, each have a separate program vector in the program memory space. All
the interrupts are assigned individual enable bits which must be set (one) together with
the I-bit in the Status Register in order to enable the interrupt.
The lowest addresses in the program memory space are automatically defined as the
Reset and Interrupt vectors. The complete list of vectors is shown in Table 29. The list
also determines the priority levels of the different interrupts. The lower the address the
higher is the priority level. RESET has the highest priority, and next is INT0 – the Exter-
nal Interrupt Request 0 etc.
Table 29. Reset and Interrupt Vectors
The most typical and general program setup for the Reset and Interrupt Vector
Addresses are:
Vector No
Address Labels
$000
$001
$002
$003
$004
$005
$006
$007
$008
$009
$00A
$00B
;
$009
$00A
C
A
B
1
2
3
4
5
6
7
8
9
RESET:
Program Address
$00A
$00B
$000
$001
$002
$003
$004
$005
$006
$007
$008
$009
Code
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
ldi
out
RESET
EXT_INT0
PIN_CHANGE
TIM1_CMP1A
TIM1_CMP1B
TIM1_OVF
TIM0_OVF
USI_STRT
USI_OVF
EE_RDY
ANA_COMP
ADC
r16, RAMEND
SP, r16
Source
RESET
INT0
I/O Pins
TIMER1, CMPA
TIMER1, CMPB
TIMER1, OVF1
TIMER0, OVF0
USI_STRT
USI_OVF
EE_RDY
ANA_COMP
ADC
Comments
; Reset handler
; IRQ0 handler
; Pin change handler
; Timer1 compare match 1A
; Timer1 compare match 1B
; Timer1 overflow handler
; Timer0 overflow handler
; USI Start handler
; USI Overflow handler
; EEPROM Ready handler
; Analog Comparator handler
; ADC Conversion Handler
; Main program start
Interrupt Definition
Hardware Pin and Watchdog Reset
External Interrupt Request 0
Pin Change Interrupt
Timer/Counter1 Compare Match 1A
Timer/Counter1 Compare Match 1B
Timer/Counter1 Overflow
Timer/Counter0 Overflow
USI Start
USI Overflow
EEPROM Ready
Analog Comparator
ADC Conversion Complete
ATtiny26(L)
59

Related parts for ATTINY26L8SU SL383