r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 659

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
Figure 31.3
Figure 31.4
31.3.1
INTiCOUT signal
Sampling timing
Port direction register
INTiIC register
Comparator Bi can use the same digital filter as the INTi input. The sampling clock can be selected by bits
INTiF1 and INTiF0 in the INTF register. The INTiCOUT signal output from comparator Bi is sampled every
sampling clock. When the level matches three times, the IR bit in the INTiIC register is set to 1 (interrupt
requested).
Figure 31.3 shows a Configuration of Comparator Bi Digital Filter, and Figure 31.4 shows an Operating
Example of Comparator Bi Digital Filter.
IR bit in
Note:
1. The above applies when:
i =1 or 3
Comparator Bi Digital Filter (i = 1 or 3)
IVCMPi
IVREFi
Bits INTiF1 to INTiF0 in the INTiF register are set to 01b, 10b, or 11b (digital filter used).
Configuration of Comparator Bi Digital Filter
Operating Example of Comparator Bi Digital Filter
INTi
INTiCP0, INTiCOUT: Bits in INTCMP register
INTiF0 to INTiF1: Bits in INTF register
INTiEN, INTiPL: Bits in INTEN register
i = 1 or 3
INTiCOUT
+
-
f32
f1
f8
INTiF1 to INTiF0
= 01b
= 10b
= 11b
INTiCP0 = 0
INTiCP0 = 1
Sampling clock
(match 3 times)
Digital filter
INTiEN
INTiF1 to INTiF0
= other than 00b
= 00b
Set to 0 by a program.
Both edge
detection
circuit
INTiPL = 0
INTiPL = 1
31. Comparator B
Page 627 of 740
To INTi interrupt

Related parts for r5f21346mnfp