21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

InterruptMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER4.2 Interrupt ControlDescriptions are given here regarding how to enable or disable maskable interrupts and how to set thepriority to be accepted. What is described here does not apply to non-maskable interrupts.Enable or disable a non-maskable interrupt using the interrupt enable flag (I flag), interrupt priority levelselection bit, or processor interrupt priority level (IPL). Whether an interrupt request is present or absent isindicated by the interrupt request bit. The interrupt request bit and the interrupt priority level selection bitare located in the interrupt control register of each interrupt. Also, the interrupt enable flag (I flag) and theIPL are located in the flag register (FLG).Table 4.2.1 shows the memory map of the interrupt control registers, and Table 4.2.2 shows the interruptcontrol registers.004416004516004616004716004816004916004A16004B16004C16004D16004E16004F16005016005116005216005316005416005516005616005716005816005916005A16005B16005C16005D16005E16005F16INT3 interrupt control register (INT3IC)Timer B5 interrupt control register (TB5IC)Timer B4 interrupt control register (TB4IC)Timer B3 interrupt control register (TB3IC)SI/O4 interrupt control register (S4IC)INT5 interrupt control register (INT5IC)SI/O3 interrupt control register (S4IC)INT4 interrupt control register (INT4IC)Bus collision detection interrupt control register (BCNIC)DMA0 interrupt control register (DM0IC)DMA1 interrupt control register (DM1IC)Key input interrupt control register(KUPIC)A-D conversion interrupt control register (ADIC)UART2 transmit interrupt control register (S2TIC)UART2 receive interrupt control register (S2RIC)UART0 transmit interrupt control register (S0TIC)UART0 receive interrupt control register (S0RIC)UART1 transmit interrupt control regster(S1TIC)UART1 receive interrupt control register(S1RIC)Timer A0 interrupt control register (TA0IC)Timer A1 interrupt control register (TA1IC)Timer A2 interrupt control register (TA2IC)Timer A3 interrupt control register (TA3IC)Timer A4 interrupt control register (TA4IC)Timer B0 interrupt control register (TB0IC)Timer B1 interrupt control register (TB1IC)Timer B2 interrupt control register (TB2IC)INT0 interrupt control register (INT0IC)INT1 interrupt control register (INT1IC)INT2 interrupt control register (INT2IC)Table 4.2.1. Memory map of the interrupt control registers491

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

Saved successfully!

Ooh no, something went wrong!