21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

InterruptMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER• Variable vector tablesThe addresses in the variable vector table can be modified, according to the user’s settings. Indicatethe first address using the interrupt table register (INTB). The 256-byte area subsequent to the addressthe INTB indicates becomes the area for the variable vector tables. One vector table comprisesfour bytes. Set the first address of the interrupt routine in each vector table. Table 4.1.2 shows theinterrupts assigned to the variable vector tables and addresses of vector tables.Table 4.1.2. Interrupts assigned to the variable vector tables and addresses of vector tablesSoftware interrupt numberVector table addressAddress (L) to address (H)Interrupt sourceRemarksSoftware interrupt number 0+0 to +3 (Note 1) BRK instructionCannot be masked I flagSoftware interrupt number 4Software interrupt number 5Software interrupt number 6Software interrupt number 7Software interrupt number 8Software interrupt number 9Software interrupt number 10Software interrupt number 11Software interrupt number 12Software interrupt number 13Software interrupt number 14Software interrupt number 15Software interrupt number 16Software interrupt number 17Software interrupt number 18Software interrupt number 19Software interrupt number 20Software interrupt number 21Software interrupt number 22Software interrupt number 23Software interrupt number 24Software interrupt number 25Software interrupt number 26Software interrupt number 27Software interrupt number 28Software interrupt number 29Software interrupt number 30Software interrupt number 31Software interrupt number 32toSoftware interrupt number 63+16 to +19 (Note 1) INT3+20 to +23 (Note 1)+24 to +27 (Note 1)+28 to +31 (Note 1)+32 to +35 (Note 1)Timer B5Timer B4Timer B3SI/O4/INT5(Note 2)+36 to +39 (Note 1) SI/O3/INT4 (Note 2)+40 to +43 (Note 1) Bus collision detection+44 to +47 (Note 1) DMA0+48 to +51 (Note 1) DMA1+52 to +55 (Note 1) Key input interrupt+56 to +59 (Note 1) A-D+60 to +63 (Note 1) UART2 transmit/NACK (Note 3)+64 to +67 (Note 1) UART2 receive/ACK (Note 3)+68 to +71 (Note 1) UART0 transmit+72 to +75 (Note 1) UART0 receive+76 to +79 (Note 1) UART1 transmit+80 to +83 (Note 1) UART1 receive+84 to +87 (Note 1) Timer A0+88 to +91 (Note 1) Timer A1+92 to +95 (Note 1) Timer A2+96 to +99 (Note 1) Timer A3+100 to +103 (Note 1) Timer A4+104 to +107 (Note 1) Timer B0+108 to +111 (Note 1) Timer B1+112 to +115 (Note 1) Timer B2+116 to +119 (Note 1) INT0+120 to +123 (Note 1) INT1+124 to +127 (Note 1) INT2+128 to +131 (Note 1)toSoftware interrupt+252 to +255 (Note 1)Note 1: Address relative to address in interrupt table register (INTB).Note 2: It is selected by interrupt request cause bit (bit 6, 7 in address 035F16 ).Note 3: When IIC mode is selected, NACK and ACK interrupts are selected.Cannot be masked I flag490

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!