參數(shù)資料
型號: ATTINY13
廠商: Atmel Corp.
元件分類: 8位微控制器
英文描述: -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
中文描述: 位AVR微控制器具有8K字節(jié)的系統(tǒng)內(nèi)可編程閃存
文件頁數(shù): 116/176頁
文件大?。?/td> 2962K
代理商: ATTINY13
44
2535J–AVR–08/10
ATtiny13
9. Interrupts
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
9.1
Interrupt Vectors
The interrupt vectors of ATtiny13 are described in Table 9-1 below.
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:
Address
Labels Code
Comments
0x0000
rjmp
RESET
; Reset Handler
0x0001
rjmp
EXT_INT0
; IRQ0 Handler
0x0002
rjmp
PCINT0
; PCINT0 Handler
0x0003
rjmp
TIM0_OVF
; Timer0 Overflow Handler
0x0004
rjmp
EE_RDY
; EEPROM Ready Handler
0x0005
rjmp
ANA_COMP
; Analog Comparator Handler
0x0006
rjmp
TIM0_COMPA
; Timer0 CompareA Handler
0x0007
rjmp
TIM0_COMPB
; Timer0 CompareB Handler
0x0008
rjmp
WATCHDOG
; Watchdog Interrupt Handler
0x0009
rjmp
ADC
; ADC Conversion Handler
;
0x000A
RESET: ldi
r16, low(RAMEND); Main program start
0x000B
out
SPL,r16
; Set Stack Pointer to top of RAM
0x000C
sei
; Enable interrupts
0x000D
<instr>
xxx
...
Table 9-1.
Reset and Interrupt Vectors
Vector No.
Program Address
Source
Interrupt Definition
1
0x0000
RESET
External Pin, Power-on Reset,
Brown-out Reset, Watchdog Reset
2
0x0001
INT0
External Interrupt Request 0
3
0x0002
PCINT0
Pin Change Interrupt Request 0
4
0x0003
TIM0_OVF
Timer/Counter Overflow
5
0x0004
EE_RDY
EEPROM Ready
6
0x0005
ANA_COMP
Analog Comparator
7
0x0006
TIM0_COMPA
Timer/Counter Compare Match A
8
0x0007
TIM0_COMPB
Timer/Counter Compare Match B
9
0x0008
WDT
Watchdog Time-out
10
0x0009
ADC
ADC Conversion Complete
相關(guān)PDF資料
PDF描述
AT93C56AY1-10YI-1.8 3-wire Serial EEPROMs 2K (256 x 8 or 128 x 16)
AT93C56AY1-10YI-2.7 Circular Connector; No. of Contacts:4; Series:; Body Material:Aluminum Alloy; Connecting Termination:Solder; Connector Shell Size:22; Circular Contact Gender:Pin; Circular Shell Style:Straight Plug; Insert Arrangement:22-10 RoHS Compliant: No
AT93C56A-10SU-2.7 24 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
AT93C56A-10TU-1.8 240 x 128 pixel format, CFL Backlight with power harness
AT17LV128A-10BJC FPGA Configuration EEPROM Memory
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATTINY13_08 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 1K Bytes In-System Programmable Flash
ATTINY13_10 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 1K Bytes In-System Programmable Flash
ATTINY13-10SU 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 1K Bytes In-System Programmable Flash
ATTINY13-12PI 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit AVR Microcontroller with 1K Bytes In-System Programmable Flash
ATTINY13-12PJ 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit AVR Microcontroller with 1K Bytes In-System Programmable Flash