attiny13-20ss ATMEL Corporation, attiny13-20ss Datasheet - Page 42

no-image

attiny13-20ss

Manufacturer Part Number
attiny13-20ss
Description
8-bit Microcontroller With 1k Bytes In-system Programmable Flash - Atmel Corporation
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny13-20ssI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny13-20ssJ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny13-20ssU
Quantity:
2 180
Company:
Part Number:
attiny13-20ssU
Quantity:
100
Company:
Part Number:
attiny13-20ssU
Quantity:
739
Part Number:
attiny13-20ssU-SL383
Manufacturer:
ATMEL
Quantity:
4 132
Interrupts
Interrupt Vectors in
ATtiny13
42
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 “Reset and Interrupt
Handling” on page 10.
Table 18. Reset and Interrupt Vectors
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.
10
1
2
3
4
5
6
7
8
9
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
;
0x000A
0x000B
RAM
0x000C
0x000D
...
Program
Address
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
RESET: ldi
...
out
<instr>
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
sei
Source
RESET
INT0
PCINT0
TIM0_OVF
EE_RDY
ANA_COMP
TIM0_COMPA
TIM0_COMPB
WDT
ADC
...
SPL,r16
xxx
...
RESET
EXT_INT0
PCINT0
TIM0_OVF
EE_RDY
ANA_COMP
TIM0_COMPA
TIM0_COMPB
WATCHDOG
ADC
r16, low(RAMEND); Main program start
Interrupt Definition
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
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
; Enable interrupts
2535G–AVR–01/07

Related parts for attiny13-20ss