r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 638

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
30. Comparator A
Comparator A compares a reference input voltage and an analog input voltage. Comparator A1 and comparator A2 are
independent of each other. Note that these comparators share the voltage detection circuit with voltage monitor 1 and
voltage monitor 2. Either comparator A1 and comparator A2 or voltage monitor 1 and voltage monitor 2 can be
selected to use the voltage detection circuit.
30.1
Table 30.1
Analog input voltage
Reference input voltage Input voltage to the LVREF pin
Comparison target
Comparison result
monitor
Interrupt
Digital
Filter
Comparison result
output
The comparison result of the reference input voltage and analog input voltage can be read by software. The result
also can be output from the VCOUTi (i = 1 or 2) pin. An input voltage to the LVREF pin can be selected as the
reference input voltage. Also, the comparator A1 interrupt and comparator A2 interrupt can be used.
Table 30.1 lists the Comparator A Specifications, Figure 30.1 shows a Comparator A Block Diagram, and Table
30.2 lists the Pin Configuration of Comparator A.
Overview
Switching
enable/disable
Sampling time
Item
Comparator A Specifications
Input voltage to the LVCMP1 pin
Whether passing thorough the reference input voltage by rising or falling.
The VW1C3 bit in the VW1C register
Whether higher or lower than the reference input voltage.
Comparator A1 interrupt
(non-makable or maskable selectable)
Interrupt request at:
Reference input voltage >
input voltage to the LVCMP1 pin
and/or
Input voltage to the LVCMP1 pin >
reference input voltage
Supported
(fOCO-S divided by n) × 2
n: 1, 2, 4, and 8
Output from the LVCOUT1 pin
(Whether the comparison result output is
inverted or not can be selected.)
Comparator A1
Input voltage to the LVCMP2 pin
The VCA13 bit in the VCA1 register
Comparator A2 interrupt
(non-makable or maskable selectable)
Interrupt request at:
Reference input voltage >
input voltage to the LVCMP2 pin
and/or
Input voltage to the LVCMP2 pin >
reference input voltage
Output from the LVCOUT2 pin
(Whether the comparison result output is
inverted or not can be selected.)
Comparator A2
30. Comparator A
Page 606 of 740

Related parts for r5f21346mnfp