R01UH0822EJ0100 Rev.1.00
Page 888 of 1041
Jul 31, 2019
RX13T Group
28. Comparator C (CMPC)
28.
Comparator C (CMPC)
28.1
Overview
Comparator C compares a reference input voltage to an analog input voltage.
The comparison result can be read by software and output externally, and an interrupt request can be generated upon any
changes to the comparison result.
The reference input voltage of comparator C can be selected from the input from the CVREFC0 pin or the output from
on-chip D/A converter 0.
There are four analog inputs, one of which is to be selected.
lists the specification of comparator C,
shows a block diagram of comparator C, and
shows a comparator C pin configuration.
In this section, “PCLK” is used to refer to PCLKB.
Table 28.1
Comparator C Specifications
lists the specification of comparator C,
shows a block diagram of comparator C,
shows a comparator C pin configuration, and
shows the analog input pin connections for comparator C.
Item
Specification
Number of channels
Three (comparator C0 to comparator C2)
Analog input voltages
Input voltage from the CMPCnm pin (n = channel number; m = 0 to 3)
Reference input voltage
Input voltage from the CVREFC0 pin or on-chip D/A converter 0 output voltage
Comparison result
The comparison result can be output externally.
Digital filter function
One of three sampling periods can be selected.
The filter function can also be disabled.
A noise-filtered signal can be used to generate the interrupt request output, POE source output,
and the signal can be used to read the comparison result via registers.
Interrupt request
An interrupt request is generated upon detecting a valid edge of the comparison result.
A valid edge can be selected from a rising or a falling edge or both edges.
Low power consumption function
Module stop state can be set.