参数资料
型号: MP80C31-12D
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 12 MHz, MICROCONTROLLER, PDIP40
封装: PLASTIC, DIP-40
文件页数: 100/170页
文件大小: 4133K
代理商: MP80C31-12D
35
ATtiny4/5/9/10 [DATASHEET]
8127F–AVR–02/2013
9.
Interrupts
This section describes the specifics of the interrupt handling in ATtiny4/5/9/10. For a general explanation of the
9.1
Interrupt Vectors
Interrupt vectors of ATtiny4/5/9/10 are described in Table 9-1 below.
Note:
1. The ADC is available in ATtiny5/10, only.
In case the program never enables an interrupt source, the Interrupt Vectors will not be used and, consequently,
regular program code can be placed at these locations.
The most typical and general setup for interrupt vector addresses in ATtiny4/5/9/10 is shown in the program exam-
ple below.
Address
Labels Code
Comments
0x0000
rjmp
RESET
; Reset Handler
0x0001
rjmp
INT0
; IRQ0 Handler
0x0002
rjmp
PCINT0
; PCINT0 Handler
0x0003
rjmp
TIM0_CAPT
; Timer0 Capture Handler
0x0004
rjmp
TIM0_OVF
; Timer0 Overflow Handler
0x0005
rjmp
TIM0_COMPA
; Timer0 Compare A Handler
0x0006
rjmp
TIM0_COMPB
; Timer0 Compare B Handler
0x0007
rjmp
ANA_COMP
; Analog Comparator Handler
0x0008
rjmp
WDT
; Watchdog Interrupt Handler
0x0009
rjmp
VLM
; Voltage Level Monitor Handler
0x000A
rjmp
ADC
; ADC Conversion Handler
<continues>
<continued>
Table 9-1.
Reset and Interrupt Vectors
Vector No.
Program Address
Label
Interrupt Source
1
0x0000
RESET
External Pin, Power-on Reset,
VLM Reset, Watchdog Reset
2
0x0001
INT0
External Interrupt Request 0
3
0x0002
PCINT0
Pin Change Interrupt Request 0
4
0x0003
TIM0_CAPT
Timer/Counter0 Input Capture
5
0x0004
TIM0_OVF
Timer/Counter0 Overflow
6
0x0005
TIM0_COMPA
Timer/Counter0 Compare Match A
7
0x0006
TIM0_COMPB
Timer/Counter0 Compare Match B
8
0x0007
ANA_COMP
Analog Comparator
9
0x0008
WDT
Watchdog Time-out
10
0x0009
VLM
V
CC Voltage Level Monitor
11
0x000A
ADC
ADC Conversion Complete (1)
相关PDF资料
PDF描述
MF280C51-20R 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP44
MS80C51-30R 8-BIT, MROM, 30 MHz, MICROCONTROLLER, PQCC44
MS80C51-20D 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQCC44
MF280C31-25R 8-BIT, 25 MHz, MICROCONTROLLER, PQFP44
MF180C31-16D 8-BIT, 16 MHz, MICROCONTROLLER, PQFP44
相关代理商/技术参数
参数描述
MP81 制造商:未知厂家 制造商全称:未知厂家 功能描述:BRIDGE RECTIFIERS
MP810 制造商:GOOD-ARK 制造商全称:GOOD-ARK Electronics 功能描述:SILICON BRIDGE RECTIFIERS
MP-810 制造商:JAMECO BENCHPRO 功能描述:4-Piece Plier/Cutter/Screwdrivers Set
MP8100 制造商:MPS 制造商全称:Monolithic Power Systems 功能描述:Precision High-Side Current-Sense Amplifier
MP8100DS 制造商:MPS 制造商全称:Monolithic Power Systems 功能描述:Precision High-Side Current-Sense Amplifier