r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 590

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
24. Comparator B
Comparator B compares a reference input voltage and an analog input voltage. Comparator B1 and comparator B3 are
independent of each other.
24.1
Figure 24.1
Table 24.1
i = 1 or 3
Analog input voltage
Reference input voltage
Comparison result
Interrupt request generation timing
Selectable function
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 24.1 lists the Comparator B Specifications, Figure 24.1 shows the Comparator B Block Diagram, and Table
24.2 lists the I/O Pins.
Port direction register
Port direction register
Overview
IVCMP3
IVCMP1
IVREF3
IVREF1
INT3
INT1
Preliminary document
Specifications in this document are tentative and subject to change.
Comparator B Specifications
INT1CP0, INT1COUT, INT3CP0, INT3COUT: Bits in INTCMP register
INT1EN, INT1PL: Bits in INTEN0 register
INT3EN, INT3PL: Bits in INTEN1 register
INT1F0, INT1F1: Bits in INTF0 register
INT3F0, INT3F1: Bits in INTF1 register
Comparator B Block Diagram
Item
+
+
-
-
f32
f32
f1
f8
f1
f8
INT3F1 and INT3F0
INT1F1 and INT1F0
= 01b
= 10b
= 11b
= 01b
= 10b
= 11b
INT3CP0 = 0
INT3CP0 = 1
INT1CP0 = 1
INT1CP0 = 0
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 used or not and the sampling frequency can be
selected.
INT3COUT
INT1COUT
Sampling clock
Sampling clock
(match 3 times)
(match 3 times)
Digital filter
Digital filter
= other than 00b
= other than 00b
INT3F1 and INT3F0
INT1F1 and INT1F0
= 00b
= 00b
Specification
Both edge
Both edge
detection
detection
circuit
circuit
INT3PL = 0
INT3EN
INT1PL = 1
INT1PL = 0
INT1EN
INT3PL = 1
24. Comparator B
To INT3 interrupt
To INT1 interrupt
Page 559 of 725

Related parts for r5f21368sdfp