English
Language : 

HT85F2260 Datasheet, PDF (171/226 Pages) Holtek Semiconductor Inc – Standard 8051 8-Bit Flash MCU
Standard 8051 8-Bit Flash MCU
HT85F2260/HT85F2270/HT85F2280
CP1+
CP1-
CP1HP[1:0]
CP1HN[1:0]
Comparator 1
CP1ON
+
CP1POL
-
Interrupt
CP1OUT
C1OUT
CP1OS
Comparator Registers
There are four registers for overall comparator operation. The CP0CR and CP1CR registers are
used to control the respective comparators settings for the Comparator 0 and Comparator 1 while
the CPHCR register is used to manage the hysteresis selection for these two comparators. In
addition, the CPICR register control the comparators interrupt settings. The accompanying register
table illustrates the control registers list.
Comparator Registers List
Register
Name
CP0CR
CP1CR
CPHCR
CPICR
7
—
—
CP1HP1
CP1IF
6
CP0ON
CP1ON
CP1HP0
CP1IEN
5
CP0POL
CP1POL
CP1HN1
CP1P1
Bit
4
3
CP0OUT
CP1OUT
CP1HN0
CP1P0
CP0OS
CP1OS
CP0HP1
CP0IF
2
CP0RSTL
—
CP0HP0
CP0IEN
1
CP0RST
—
CP0HN1
CP0P1
0
—
—
CP0HN0
CP0P0
Rev. 1.00
171 of 226
May 15, 2013