English
Language : 

HD64F38602R Datasheet, PDF (398/552 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
Section 18 Comparators
18.4.2
Hysteresis Characteristics of Comparator
Figure 18.2 shows CDR when hysteresis is or is not selected by the CMLS bit CMCR and the
input voltage to the COMP pins. The hysteresis characteristics for the comparison result (CDR) by
the comparator can be selected by the CMLS bit, as shown in figure 18.2.
When CMR = 0 and CRS3 to CRS0 = B'1000 (VIH = 19/30Vcc, VIL = 17/30Vcc)
COMP pin input voltage
19/30 Vcc
17/30 Vcc
CDR (CMLS = 0)
CDR (CMLS = 1)
Figure 18.2 Hysteresis/Non-Hysteresis Selection by CDR
18.4.3 Interrupt Setting
When the CDR bit is read while the comparator interrupt is enabled and both the CME and CMIE
bits are set to 1, it is latched in the internal latch. When a difference occurs between the output of
the latch and the CDR bit, the interrupt is generated. While the CDR bit is being read, the interrupt
is masked.
Rev. 3.00 May 15, 2007 Page 366 of 516
REJ09B0152-0300