English
Language : 

HD64F38602R Datasheet, PDF (394/552 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
Section 18 Comparators
18.2 Input/Output Pins
Table 18.1 shows the pin configuration of the comparators.
Table 18.1 Pin Configuration
Pin Name
Comparator reference
voltage
Analog input channel 0
Analog input channel 1
Abbreviation I/O
VCref
Input
COMP0
COMP1
Input
Input
Function
Comparator reference voltage pin
(external input)
Comparator analog input pin 0
Comparator analog input pin 1
18.3 Register Descriptions
The comparators have the following registers. For details on register addresses and register states
during each processing, refer to section 20, List of Registers.
• Compare control registers 0, 1 (CMCR0, CMCR1)
• Compare data register (CMDR)
18.3.1 Compare Control Registers 0, 1 (CMCR0, CMCR1)
CMCR0 and CMCR1 control the comparators.
Initial
Bit
Bit Name Value R/W Description
7
CME
0
R/W Comparator Enable
0: Comparator halted
1: Comparator operates
6
CMIE
0
R/W Comparator Interrupt Enable
0: Disables a comparator interrupt
1: Enables a comparator interrupt
5
CMR
0
R/W Comparator Reference Voltage Select
0: Selects internal power supply as reference voltage
1: Reference voltage is input from VCref pin
For the combination of the CMR and CMLS bits.
Rev. 3.00 May 15, 2007 Page 362 of 516
REJ09B0152-0300