R01UH0092EJ0110 Rev.1.10
Page 208 of 807
Jul 31, 2012
M16C/64C Group
14. Interrupts
14.6.2
Relocatable Vector Tables
The 256 bytes beginning with the start address set in the INTB register compose a relocatable vector
table area. Setting an even address in the INTB register results in the interrupt sequence being
executed faster than setting an odd address.
Table 14.6
Relocatable Vector Tables (1/2)
Interrupt Source
Vector Address
Address (L) to Address (H)
Software
Interrupt
Number
Reference
INT instruction interrupt
+0 to +3 (0000h to 0003h) to
+252 to +255 (00FCh to 00FFh)
0 to 63
M16C/60, M16C/20, M16C/Tiny
Series Software Manual
BRK instruction
+0 to +3 (0000h to 0003h)
0
INT7
+8 to +11 (0008h to 000Bh)
2
INT6
+12 to +15 (000Ch to 000Fh)
3
INT3
+16 to +19 (0010h to 0013h)
4
Timer B5
+20 to +23 (0014h to 0017h)
5
Timer B4, UART1 start/stop condition
detection, bus collision detection
(4)
+24 to +27 (0018h to 001Bh)
6
Timer B3, UART0 start/stop condition
detection, bus collision detection
(4)
+28 to +31 (001Ch to 001Fh)
7
23. “Serial Interface UARTi (i = 0 to 2,
5 to 7)”
SI/O4,
INT5
(2)
+32 to +35 (0020h to 0023h)
8
24. “Serial Interface SI/O3 and SI/O4”
SI/O3,
INT4
(2)
+36 to +39 (0024h to 0027h)
9
UART2 start/stop condition detection,
bus collision detection
(4)
+40 to +43 (0028h to 002Bh)
10
23. “Serial Interface UARTi (i = 0 to 2,
5 to 7)”
DMA0
+44 to +47 (002Ch to 002Fh)
11
DMA1
+48 to +51 (0030h to 0033h)
12
Key input interrupt
+52 to +55 (0034h to 0037h)
13
A/D converter
+56 to +59 (0038h to 003Bh)
14
UART2 transmit, NACK2
+60 to +63 (003Ch to 003Fh)
15
UART2 receive, ACK2
+64 to +67 (0040h to 0043h)
16
UART0 transmit, NACK0
+68 to +71 (0044h to 0047h)
17
23. “Serial Interface UARTi (i = 0 to 2,
5 to 7)”
UART0 receive, ACK0
+72 to +75 (0048h to 004Bh)
18
UART1 transmit, NACK1
+76 to +79 (004Ch to 004Fh)
19
UART1 receive, ACK1
+80 to +83 (0050h to 0053h)
20
Timer A0
+84 to +87 (0054h to 0057h)
21
Timer A1
+88 to +91 (0058h to 005Bh)
22
Timer A2
+92 to +95 (005Ch to 005Fh)
23
Timer A3
+96 to +99 (0060h to 0063h)
24
Timer A4
+100 to +103 (0064h to 0067h)
25
Timer B0
+104 to +107 (0068h to 006Bh)
26
Timer B1
+108 to +111 (006Ch to 006Fh)
27
Timer B2
+112 to +115 (0070h to 0073h)
28
Notes:
1.
Address relative to address in INTB.
2.
Use bits IFSR6 and IFSR7 in the IFSR register to select a source.
3.
In I
2
C mode, NACK and ACK are interrupt sources.
4.
Use bits IFSR26 and IFSR27 in the IFSR2A register to select a source.
5.
These interrupts cannot be disabled using the I flag.
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...