
Rev.2.10 Apr 14, 2006 page 96 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 10. Interrupts
Figure 10.12 IFSR1 Register
Interrupt Source Select Register 1
RW
Symbol Address After Reset
IFSR1 01DFh 00h
RW
RW
RW
RW
RW
RW
RW
RW
b7 b6 b5 b4 b3 b2 b1 b0
0 :
CAN1 successful transmission/SI/O3
(3)
1 : INT4
0 :
CAN1 successful reception/SI/O4
(5)
1 : INT5
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
IFSR10
Interrupt request source
select bit
(2)
Interrupt request source
select bit
(4)
IFSR11
IFSR12
IFSR13
IFSR14
IFSR15
IFSR16
IFSR17
Bit Name FunctionBit Symbol
INT0 interrupt polarity
switching bit
INT1 interrupt polarity
switching bit
INT2 interrupt polarity
switching bit
INT3 interrupt polarity
switching bit
INT4 interrupt polarity
switching bit
INT5 interrupt polarity
switching bit
NOTES:
1.When setting this bit to 1 (both edges), make sure the POL bit in registers INT0IC to INT5IC is set to
0 (falling edge).
2.CAN1 successful transmission, SI/O3 and INT4 share the vector and interrupt control register.
When using CAN1 successful transmission or SI/O3 interrupt, set the IFSR16 bit to 0 (CAN1 successful
transmission, SI/O3). When using INT4 interrupt, set the IFSR16 bit to 1 (INT4).
During memory expansion and microprocessor modes, when the data bus is 16-bit width (BYTE pin is
"L"), set this bit to 0 (CAN1 successful transmission, SI/O3).
* Not available memory expansion and microprocessor modes in T/V-ver..
3.When setting this bit to 0 (CAN1 successful transmission, SI/O3), make sure the IFSR00 bit in the
IFSR0 register is set to 0 (CAN1 successful transmission) or 1 (SI/O3).
And, make sure the POL bit in the C1TRMIC and S3IC registers are set to 0 (falling edge).
4.CAN1 successful reception, SI/O4 and INT5 share the vector and interrupt control register.
When using the CAN1 successful reception or SI/O4 interrupt, set the IFSR17 bit to 0 (CAN1 successful
reception, SI/O4). When using INT5 interrupt, set the IFSR17 bit to 1 (INT5).
During memory expansion and microprocessor modes, when the data bus is 16-bit width (BYTE pin is
"L"), set this bit to 0 (CAN1 successful reception, SI/O4).
* Not available memory expansion and microprocessor modes in T/V-ver..
5.When setting this bit to 0 (CAN1 successful reception, SI/O4), make sure the IFSR03 bit in the IFSR0
register is set to 0 (CAN1 successful reception) or 1 (SI/O4).
And, make sure the POL bit in registers C1TRMIC and S4IC are set to 0 (falling edge).
Kommentare zu diesen Handbüchern