English
Language : 

M16C62N Datasheet, PDF (52/213 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
______
INT Interrupt
Mitsubishi microcomputers
M16C / 62N Group (80-pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
______
INT Interrupt
________
_______
INT0 to INT2 are triggered by the edges of external inputs. The edge polarity is selected using the polarity
select bit.
As for external interrupt input, an interrupt can be generated both at the rising edge and at the falling edge
by setting “1” in the INTi interrupt polarity switching bit of the interrupt request cause select register
(035F16). To select both edges, set the polarity switching bit of the corresponding interrupt control register
to ‘falling edge’ (“0”).
Figure 1.10.10 shows the Interrupt request cause select register.
Interrupt request cause select register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
IFSR
Address
035F16
When reset
0016
Bit symbol
IFSR0
Bit name
INT0 interrupt polarity
switching bit
Function
0 : One edge
1 : Two edges
RW
IFSR1
INT1 interrupt polarity
switching bit
0 : One edge
1 : Two edges
IFSR2
INT2 interrupt polarity
switching bit
0 : One edge
1 : Two edges
IFSR3
INT3 interrupt polarity
switching bit (Note)
0 : One edge
1 : Two edges
IFSR4
INT4 interrupt polarity
switching bit (Note)
0 : One edge
1 : Two edges
IFSR5
INT5 interrupt polarity
switching bit (Note)
0 : One edge
1 : Two edges
IFSR6
Interrupt request cause
select bit (Note)
0 : SIO3
1 : INT4
IFSR7
Interrupt request cause
select bit (Note)
0 : SIO4
1 : INT5
Note : INT3 to INT5 interrupts cannot be used in M16C/62N (80-pin version) group. Thus,
set this bit to “0”.
Figure 1.10.10. Interrupt request cause select register
51