RL78/G15 CHAPTER 11 COMPARATOR
R01UH0959EJ0110 Rev.1.10 Page 347 of 765
Mar 7, 2023
11.2 Comparator Configuration
The comparator consists of the following hardware:
1) IVCMPn Pin
The comparator analog input pin. An analog signal to be compared by the comparator is input to this pin.
Remark n = 0, 1
2) IVREFn Pin
An input pin to supply the reference voltage externally. The reference voltage of the comparator and analog input that is
input to the IVCMPn pin are compared.
In addition to the voltage supplied to the IVREFn pin externally, the internal reference voltage (0.815 V (typ.)) can be
selected for the comparator reference voltage.
For details on setting the comparator reference voltage, see 11.3.2 Comparator Mode Setting Register (COMPMDR).
Remark n = 0, 1
3) VCOUTn Pin
A pin to output the comparator comparison results. The inverted/non-inverted comparator output can be output from the
VCOUTn pin.
For use of the VCOUTn pin as a comparator output, see 11.4.3 Comparator n Output (n = 0, 1).
Remark n = 0, 1