r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 654

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
31. Comparator B
Comparator B compares a reference input voltage and an analog input voltage. Comparator B1 and comparator B3 are
independent of each other.
31.1
Figure 31.1
Table 31.1
i = 1 or 3
Analog input voltage
Reference input voltage
Comparison result
Interrupt request
generation timing
Selectable functions
Port direction register
Port direction register
The comparison result of the reference input voltage and analog input voltage can be read by software. An input to
the IVREFi (i = 1 or 3) pin can be used as the reference input voltage.
Table 31.1 lists the Comparator B Specifications, Figure 31.1 shows a Comparator B Block Diagram, and Table
31.2 lists the I/O Pins.
Overview
IVCMP3
IVCMP1
IVREF3
IVREF1
INT3
INT1
Item
Comparator B Specifications
Comparator B Block Diagram
INT1CP0, INT1COUT, INT3CP0, INT3COUT: Bits in INTCMP register
INT1EN, INT1PL, INT3EN, INT3PL: Bits in INTEN register
INT1F0, INT1F1, INT3F0, INT3F1: Bits in INTF register
+
+
-
-
Input voltage to the IVCMPi pin
Input voltage to the IVREFi pin
Read from the INTiCOUT bit in the INTCMP register
When the comparison result changes.
• Digital filter function
Whether the digital filter is applied or not and the sampling frequency can
be selected.
f32
f32
f1
f8
f1
f8
= 01b
= 10b
= 11b
INT3F1 to INT3F0
INT1F1 to INT1F0
=01b
=10b
=11b
INT3CP0 = 0
INT3CP0 = 1
INT1CP0 = 1
INT1CP0 = 0
INT3COUT
INT1COUT
Sampling clock
Sampling clock
(3 times match)
(3 times match)
Digital filter
Digital filter
INT1F1 to INT1F0
INT3F1 to INT3F0
= other than 00b
= other than 00b
Specification
= 00b
= 00b
Both edge
Both edge
detection
detection
circuit
circuit
INT3PL = 0
INT1PL = 0
INT3EN
INT1EN
INT3PL = 1
INT1PL = 1
31. Comparator B
Page 622 of 740
To INT3 interrupt
To INT1 interrupt

Related parts for r5f21346mnfp