English
Language : 

M16C6KA_15 Datasheet, PDF (57/270 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Description
M16C/6KA Group
Interrupt
______
INT Interrupt
________
__________
INT0 to INT11 are triggered by the edges of external inputs. The edge polarity can be 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 factor selection register0,1 (035F16,
035E16). To select both edges, set the polarity switching bit of the corresponding interrupt control register to
‘falling edge’ (“0”). After the selection of interrupt edge, the corresponding interrupt request bit should be
cleared to "0" before enabling the interrupt.
Fig.DD-11, Fig.DD-12 show the Interrupt factor selection register 0, 1.
Interrupt factor selection register 0
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
IFSR0
Address
035F16
Bit symbol
IFSR00
IFSR01
IFSR02
IFSR03
IFSR04
IFSR05
Bit name
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
Reserved bits
When reset
0016
Function
0 : One edge
1 : Two edges
0 : One edge
1 : Two edges
0 : One edge
1 : Two edges
0 : One edge
1 : Two edges
0 : One edge
1 : Two edges
0 : One edge
1 : Two edges
Must be "0"
RW
Fig.DD-11 Interrupt factor selection register(1)
Rev.1.00 Jul 16, 2004 page 55 of 266
REJ03B0100-0100Z