
Rev.2.10 Apr 14, 2006 page 94 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 10. Interrupts
______
10.6 INT Interrupt
_______
INTi interrupt (i = 0 to 8)
(1)
is triggered by the edges of external inputs. The edge polarity is selected using
bits IFSR10 to IFSR15 in the IFSR1 register and bits IFSR23 to IFSR25 in the IFSR2 register.
________
INT4 share the interrupt vector and interrupt control register with CAN1 successful transmission and SI/O3,
________ ________ ________
INT5 share with CAN1 successful reception and 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 bits IFSR16, IFSR17, IFSR20, IFSR21, and IFSR22, 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 10.11 to 10.13 show Registers IFSR0, IFSR1, and IFSR2.
Comentarios a estos manuales