
Overview of Interrupts
M30240 Group
Rev.1.00 Sep 24, 2003 Page 333 of 360
4.1.2.2 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 4.2 shows the inter-
rupts assigned to the variable vector tables and addresses of the vector tables.
Table 4.2:
Interrupts assigned to the variable vector table and addresses of the vector tables
Software interrupt number
Vector table address
Address (L) to Address (H)
Interrupt source
Remarks
Software interrupt number 0
+0 to +3 (Note)
BRK Instruction
Cannot be masked by I
flag
Software interrupt number 4
+16 to +19 (Note)
USB Suspend Interrupt
Software interrupt number 6
+24 to +27 (Note)
USB Resume Interrupt
Software interrupt number 7
+28 to +31 (Note)
USB SOF
Software interrupt number10
+40 t0 +43 (Note)
Bus collision detection
Software interrupt number11
+44 to +47 (Note)
DMA0
Software interrupt number12
+48 to +51 (Note)
DMA1
Software interrupt number13
+52 to +55 (Note)
Key input interrupt
Software interrupt number14
+56 to +59 (Note)
A-D
Software interrupt number15
+60 to +63 (Note)
UART2 transmit
Software interrupt number16
+64 to +67 (Note)
UART2 receive
Software interrupt number17
+68 to +71 (Note)
UART0 transmit
Software interrupt number18
+72 to +75 (Note)
UART0 receive
Software interrupt number19
+76 to +79 (Note)
UART1 transmit
Software interrupt number20
+80 to +83 (Note)
UART1 receive
Software interrupt number 21
+84 to +87 (Note)
Timer A0
Software interrupt number 22
+88 to +91 (Note)
Timer A1
Software interrupt number 23
+92 to +95 (Note)
Timer A2
Software interrupt number 24
+96 to +99 (Note)
Timer A3
Software interrupt number 25
+100 to +103 (Note)
Timer A4
Software interrupt number 26
+104 to +107 (Note)
Timer B0
Software interrupt number 27
+108 to +111 (Note)
Timer B1
Software interrupt number 28
+112 to +115 (Note)
USB Reset
Software interrupt number 29
+116 to +119 (Note)
INT0
Software interrupt number 30
+120 to +123 (Note)
INT1
Software interrupt number 31
+124 to +127 (Note)
USB Function
Software interrupt number 32
to
Software interrupt number 63
+128 to +131 (Note) to
+252 to +255 (Note)
Software interrupt
Cannot be masked by I
flag
Note: Address relative to address in interrupt table register (INTB).