RL78/G15 CHAPTER 11 COMPARATOR
R01UH0959EJ0110 Rev.1.10 Page 346 of 765
Mar 7, 2023
CHAPTER 11 COMPARATOR
Caution 16-, 10-, and 8-pin products have only one comparator channel. 20-pin products have two comparator
channels. This chapter mainly describes the comparator in the case of 20-pin products.
11.1 Comparator Functions
The comparator has the following functions.
●
The comparator response speed can be selected.
High-speed mode: Decreased response delay time, with increased power consumption.
Low-speed mode: Increased response delay time, with decreased power consumption.
●
The comparator reference voltage is selectable as the externally input reference voltage or the internal reference
voltage
Note 1
(0.815 V (typ.)).
●
The integrated digital filter for noise elimination allows selecting the noise elimination width.
●
The inverted/non-inverted comparator output can be output from the VCOUTn pin.
●
An interrupt (INTCMPn) can be generated upon detection of the effective edge of the comparator output signal.
Note 1. The internal reference voltage cannot be used for the A/D converter and comparator simultaneously. When
the internal reference voltage is selected as the reference voltage of the comparator, do not select the
internal reference voltage as the target for conversion by the A/D converter.
Remark n = 0, 1