R01UH0822EJ0100 Rev.1.00
Page 899 of 1041
Jul 31, 2019
RX13T Group
28. Comparator C (CMPC)
28.4
Usage Notes
28.4.1
Module Stop Function Setting
Operation of comparator C can be disabled or enabled using module stop control register B (MSTPCRB). After the reset,
comparator C is halted. Register access is enabled by releasing the module stop state. For details, refer to
.
28.4.2
Comparator C Operation in Module Stop State
When the module stop state is entered while comparator C is operating, analog circuits in the comparator C is not
stopped and the analog power supply current is the same as that when comparator C is being used. If the analog power
supply current needs to be reduced in the module stop state, set the CMPCTL.HCMPON bit to 0 to stop comparator C.
28.4.3
Comparator C Operation in Software Standby Mode
When software standby mode is entered while comparator C is operating, analog circuits in the comparator C is not
stopped and the analog power supply current is the same as that when comparator C is being used. If the analog power
supply current needs to be reduced in software standby mode, set the CMPCTL.HCMPON bit to 0 to stop comparator C.
28.4.4
Comparator Operation while the 12-Bit A/D Convertor is in the Module-Stop
State
The same module stop signal controls the programmable gain amplifiers (PGAs) and the 12-bit A/D convertor. The
comparison of PGA output for the following pins is not possible while the 12-bit A/D convertor is in the module stop
state.
PGA output for AN000 pin
PGA output for AN001 pin
PGA output for AN002 pin
The comparison for the following analog input pins is possible since they are directly connected to the comparator, even
if the 12-bit A/D convertor is in the module-stop state.
AN000 pin
AN001 pin
AN002 pin
AN003 pin
AN004 pin
AN005 pin
AN006 pin
AN007 pin
28.4.5
Setting the D/A Converter for Generating Reference Voltage
Set the D/A converter for generating reference voltage and wait for the D/A converter output settling time before
enabling the comparator. Similarly, before making any changes to the settings of the D/A converter stop the comparator
temporarily, and after the changes are made, wait for the D/A converter output settling time before enabling the
comparator.