M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 81

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
______
INT Interrupt
66
______
INT Interrupt
Figure 1.14.10. Interrupt request cause select register
________
INT0 to INT5 are triggered by the edges of external inputs. The edge polarity is selected using the polarity
select bit.
Of interrupt control registers, 0048
register, and 0049
interrupt request cause select bits - bits 6 and 7 of the interrupt request cause select register (035F
specify which interrupt request cause to select. After having set an interrupt request cause, be sure to clear
the corresponding interrupt request bit before enabling an interrupt.
Either of the interrupt control registers - 0048
to “0” to select an serial I/O as the interrupt request cause.
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
(035F
to ‘falling edge’ (“0”).
Figure 1.14.10 shows the Interrupt request cause select register.
Interrupt request cause select register
b7
16
b6
________
). To select both edges, set the polarity switching bit of the corresponding interrupt control register
b5
b4
b3
16
b2
is used both as serial I/O3 and as external interrupt INT4 input control register. Use the
b1
b0
Bit symbol
IFSR0
IFSR1
IFSR2
IFSR3
IFSR4
IFSR5
IFSR6
IFSR7
Symbol
IFSR
16
is used both as serial I/O4 and external interrupt INT5 input control
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
Interrupt request cause
select bit
Interrupt request cause
select bit
16
, 0049
Bit name
Address
035F
16
- has the polarity-switching bit. Be sure to set this bit
16
When reset
0 : SIO3
1 : INT4
0 : SIO4
1 : INT5
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
00
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
16
________
Function
Mitsubishi microcomputers
________
M16C / 62 Group
R
W
16
) - to

Related parts for M30622MA-XXXFP