ML610Q111/ML610Q112 User’s Manual
Chapter 22 Analog Comparator
FEUL610Q111
22-8
22.2.7
Comparator 1 control register 2 (CMP1CON2)
Address: 0F956H
Access: R/W
Access size: 8 bits
Initial value: 08H
7
6
5
4
3
2
1
0
CMP1CON2
—
—
—
—
CMP1RF
3
CMP1RF
2
CMP1RF
1
CMP1RF
0
R/W
—
—
—
—
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
1
0
0
0
CMP1CON2 is a special function register (SFR) to select the reference voltage of the Comparator 1.
[Description of Bits]
•
CMP1RF3-0
(bit 3 to 0)
The CMP1RF0, CMP1RF1, CMP1RF2, and CMP1RF3 bits are used to select the reference voltage of the Comparator 1.
This setting is valid when the reference voltage (Vref) of the Comparator 1 is set to the internal reference input
(CMP1RFS=0). A setting of 0h (0.05V) is possible without a guaranteed accuracy.
CMP1RF3
CMP1RF2
CMP1RF1
CMP1RF0
Comparator 1
Reference voltage
0
0
0
0
0.05V (no guaranteed accuracy)
0
0
0
1
0.10V
0
0
1
0
0.15V
0
0
1
1
0.20V
0
1
0
0
0.25V
0
1
0
1
0.30V
0
1
1
0
0.35V
0
1
1
1
0.40V
1
0
0
0
0.45V (initial value)
1
0
0
1
0.50V
1
0
1
0
0.55V
1
0
1
1
0.60V
1
1
0
0
0.65V
1
1
0
1
0.70V
1
1
1
0
0.75V
1
1
1
1
0.80V
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...