Int Interrupt - Renesas M16C FAMILY Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY:
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group
______

10.2 INT Interrupt

________
10.2.1 INT0 Interrupt
_______
INT0 interrupt is triggered by an INT0 input. When using INT0 interrupts, the INT0EN bit in the INTEN
register must be set to "1" (enabling). The edge polarity is selected using the INT0PL bit in the INTEN
register and the POL bit in the INT0IC register. The IR bit may be set to "1" (interrupt requested) after
changing the INT0PL or POL bit. The IR bit must be set to "0" (interrupt not requested) after changing
the INT0PL and POL bits.
Inputs can be passed through a digital filter with three different sampling clocks.
Figure 10.10 shows the INTEN and INT0F registers.
External input enable register
b7
b6
b5
b4
b3
0 0 0 0 0 0
Notes:
1. This bit must be set while the INT0STG bit in the PUM register is set to "0" (one-shot trigger disabled).
2. When setting the INT0PL bit to "1" (selecting both edges), the POL bit in the INT0IC must be set to "0"
(selecting falling edge).
3. The IR bit in the INT0IC register may be set to "1" (interrupt requested) when the INT0PL bit is rewritten.
Refer to the paragraph 19.2.5 "Changing Interrupt Source" in the Usage Notes Reference Book.
INT0 input filter select register
b7
b6
b5
b4
b3
Figure 10.10 INTEN Register and INT0F Register
Rev.0.91
2003 Sep 08
b2
b1
b0
Symbol
INTEN
Bit symbol
INT0EN
INT0 input enable bit
INT0PL
INT0 input polarity select bit
Reserved bit
(b7-b2)
b2
b1
b0
0
Symbol
INT0F
Bit symbol
INT0 input filter select bit
INT0F0
INT0F1
Reserved bit
(b2)
Nothing is assigned.
(b7-b3)
When write, set to "0". If read, it content is
page 60 of 184
Address
After reset
0096
00
16
16
Bit name
1
0 : Disabled
1 : Enabled
2
0 : One edge
1 : Both edges
Must set to "0"
Address
After reset
001E
XXXXX000
16
Bit name
b1 b0
0 0 : No filter
0 1 : Filter with f
1 0 : Filter with f
1 1 : Filter with f
Must set to "0"
______
10.2 INT Interrupt
RW
Function
RW
RW
RW
2
RW
Function
RW
sampling
1
sampling
8
RW
sampling
32
RW
indeterminate.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents