-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvectors_m16.inc
43 lines (43 loc) · 1.12 KB
/
vectors_m16.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
; ***** INTERRUPT VECTORS ************************************************
; ***** ATmega16 *********************************************************
.org INT0addr ;External Interrupt0
reti
.org INT1addr ;External Interrupt1
reti
.org OC2addr ;Output Compare2 Interrupt
reti
.org OVF2addr ;Overflow2 Interrupt
reti
.org ICP1addr ;Input Capture1 Interrupt
reti
.org OC1Aaddr ;Output Compare1A Interrupt
reti
.org OC1Baddr ;Output Compare1B Interrupt
reti
.org OVF1addr ;Overflow1 Interrupt
rjmp OVF1_IRQ
.org OVF0addr ;Overflow0 Interrupt
rjmp OVF0_IRQ
.org SPIaddr ;SPI Interrupt
reti
.org URXCaddr ;UART Receive Complete Interrupt
rjmp RX_OK
.org UDREaddr ;UART Data Register Empty Interrupt
reti
.org UTXCaddr ;UART Transmit Complete Interrupt
reti
.org ADCCaddr ;ADC Interrupt
reti
.org ERDYaddr ;EEPROM Interrupt
reti
.org ACIaddr ;Analog Comparator Interrupt
reti
.org TWIaddr ;Irq. for Two-Wire Interface
reti
.org INT2addr ;External Interrupt2
reti
.org OC0addr ;Output Compare0 Interrupt
reti
.org SPMRaddr ;Store Program Memory Ready Interrupt
reti
; ***** INTERRUPT VECTORS ************************************************