參數資料
型號: MR80C52XXX-25SHXXX:R
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CQCC44
封裝: LCC-44
文件頁數: 117/176頁
文件大?。?/td> 4226K
45
8126F–AVR–05/12
ATtiny13A
9.
Interrupts
This section describes the specifics of the interrupt handling as performed in ATtiny13A. For a
general explanation of the AVR interrupt handling, refer to “Reset and Interrupt Handling” on
9.1
Interrupt Vectors
The interrupt vectors of ATtiny13A 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
ATtiny13A 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
相關PDF資料
PDF描述
MR80C32E-36SB 8-BIT, 36 MHz, MICROCONTROLLER, CQCC44
R80C52CXXX-25SHXXX:RD 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CQCC44
MR80C52XXX-L:R 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CQCC44
IS80C52FXXXS:R 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQCC44
IJ80C52FXXXS 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CQCC44
相關代理商/技術參數
參數描述
MR80C86 制造商:INTERSIL 制造商全稱:Intersil Corporation 功能描述:CMOS 16-Bit Microprocessor
MR80C86/B 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Harris Corporation 功能描述:Microprocessor, 16 Bit, 44 Pin, Ceramic, LCC
MR80C86-2 制造商:INTERSIL 制造商全稱:Intersil Corporation 功能描述:CMOS 16-Bit Microprocessor
MR80C86-2/883 制造商:Rochester Electronics LLC 功能描述:- Bulk
MR80C86-2/B 制造商:Intersil Corporation 功能描述:MPU 80C86 16BIT CMOS 8MHZ 44PLCC - Rail/Tube