English
Language : 

M30220 Datasheet, PDF (34/212 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
UnddeevrelopmIenntterPrurepSliptmeicnifaicraytiSonpsecinifitchaistimonasnuRaEl aVre.Etentative
and
subject
to
change.
SINGLE-CHIP
16-BIT
Mitsubishi microcomputers
M30220 Group
CMOS MICROCOMPUTER
• Variable vector tables
The addresses in the variable vector table can be modified, according to the user’s settings. Indicate
the first address using the interrupt table register (INTB). The 256-byte area subsequent to the ad-
dress the INTB indicates becomes the area for the variable vector tables. One vector table comprises
four bytes. Set the first address of the interrupt routine in each vector table. Table 1.10.2 shows the
interrupts assigned to the variable vector tables and addresses of vector tables.
Table 1.10.2. Interrupts assigned to the variable vector tables and addresses of vector tables
Software interrupt number
Software interrupt number 0
Vector table address
Address (L) to address (H)
Interrupt source
+0 to +3 (Note 1)
BRK instruction
Remarks
Cannot be masked I flag
Software interrupt number 4
Software interrupt number 5
+16 to +19 (Note 1)
+20 to +23 (Note 1)
INT3
Timer B5
Software interrupt number 6
+24 to +27 (Note 1) Timer B4
Software interrupt number 7
+28 to +31 (Note 1) Timer B3
Software interrupt number 8
Software interrupt number 9
Software interrupt number 10
+32 to +35 (Note 1)
+36 to +39 (Note 1)
+40 to +43 (Note 1)
Timer A7
Timer A6
Timer A5/Bus collision detection
(Note 2)
Software interrupt number 11 +44 to +47 (Note 1) DMA0
Software interrupt number 12
Software interrupt number 13
+48 to +51 (Note 1)
+52 to +55 (Note 1)
DMA1
Key input interrupt
Software interrupt number 14 +56 to +59 (Note 1) A-D
Software interrupt number 15 +60 to +63 (Note 1) UART2 transmit
Software interrupt number 16
Software interrupt number 17
+64 to +67 (Note 1)
+68 to +71 (Note 1)
UART2 receive
UART0 transmit
Software interrupt number 18
Software interrupt number 19
+72 to +75 (Note 1)
+76 to +79 (Note 1)
UART0 receive
UART1 transmit
Software interrupt number 20 +80 to +83 (Note 1) UART1 receive
Software interrupt number 21
Software interrupt number 22
+84 to +87 (Note 1)
+88 to +91 (Note 1)
Timer A0
Timer A1
Software interrupt number 23 +92 to +95 (Note 1) Timer A2
Software interrupt number 24
Software interrupt number 25
+96 to +99 (Note 1)
+100 to +103 (Note 1)
Timer A3/INT4 (Note 3)
Timer A4/INT5 (Note 3)
Software interrupt number 26 +104 to +107 (Note 1) Timer B0
Software interrupt number 27 +108 to +111 (Note 1) Timer B1
Software interrupt number 28
Software interrupt number 29
Software interrupt number 30
Software interrupt number 31
Software interrupt number 32
to
Software interrupt number 63
+112 to +115 (Note 1)
+116 to +119 (Note 1)
+120 to +123 (Note 1)
+124 to +127 (Note 1)
+128 to +131 (Note 1)
to
+252 to +255 (Note 1)
Timer B2
INT0
INT1
INT2
Software interrupt
Cannot be masked I flag
Note 1: Address relative to address in interrupt table register (INTB).
Note 2: It is selected by interrupt request cause select bit (bit 4 in address 035E16 ).
Note 3: It is selected by interrupt request cause select bit (bit 6, 7 in address 035F16 ).
34