Renesas 16-bit single-chip microcomputer Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 69 of 314
REJ09B0126-0102
M16C/6N Group (M16C/6NL, M16C/6NN) 9. Interrupt
Under development
This document is under development and its contents are subject to change.
______
9.6 INT Interrupt
_______
INTi interrupt (i = 0 to 8)
(1)
is triggered by the edges of external inputs. The edge polarity is selected using
the IFSR10 to IFSR15 bits in the IFSR1 register and the IFSR23 to IFSR25 bits in the IFSR2 register.
________ ________ ________
INT4 share the interrupt vector and interrupt control register with SI/O3, INT5 share with SI/O4, INT6 share
________ ________ ________ ________
with Timer A3, INT7 share with Timer A2, INT8 share with Timer B1. To use the INT4 to INT8 interrupts
(1)
,
set the each bits as follows.
________ ________
To use the INT4 interrupt: Set the IFSR16 bit in the IFSR1 register to 1 (INT4).
________ ________
To use the INT5 interrupt: Set the IFSR17 bit in the IFSR1 register to 1 (INT5).
________ ________
To use the INT6 interrupt: Set the IFSR21 bit in the IFSR2 register to 1 (INT6).
(1)
________ ________
To use the INT7 interrupt: Set the IFSR20 bit in the IFSR2 register to 1 (INT7).
(1)
________ ________
To use the INT8 interrupt: Set the IFSR22 bit in the IFSR2 register to 1 (INT8).
(1)
After modifying the IFSR16, IFSR17, IFSR20, IFSR21 and IFSR22 bits, set the corresponding IR bit to 0
(interrupt not requested) before enabling the interrupt.
NOTE:
________ ________
1. INT6 to INT8 interrupts are only in the 128-pin version.
Figures 9.11 to 9.13 show the IFSR0, IFSR1 and IFSR2 registers.