Rev. 1.71 120 April 11, 2017 Rev. 1.71 121 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
LCD Bias Current Control
TheLCDCOMdriverenablesarangeofselectionstobeprovidedtosuittherequirementofthe
LCDpanelwhicharebeingused.ThebiasresistorchoiceisimplementedusingtheISEL1and
ISEL0bitsintheSCOMCregister.
SCOMC
Bit 7 6 5 4 3 2 1 0
Name — ISEL1 ISEL0 SCOMEN COM3EN COM2EN COM1EN COM0EN
R/W — R/W R/W R/W R/W R/W R/W R/W
POR — 0 0 0 0 0 0 0
Bit7 Unimplemented,readas“0”
Bit6~5 ISEL1~ISEL0:SelectresistorforRtypeLCDbiascurrent(V
DD
=5V)
00:2×100kΩ(1/2Bias),I
BIAS
=25μA
01:2×50kΩ(1/2Bias),I
BIAS
=50μA
10:2×25kΩ(1/2Bias),I
BIAS
=100μA
11:2×12.5kΩ(1/2Bias),I
BIAS
=200μA
Bit4 SCOMEN:LCDcontrolbit
0:Disable
1:Enable
WhenSCOMENisset,itwillturnontheDCpathofresistortogenerate1/2V
DD
biasvoltage.
Bit3 COM3EN:PB3/AN7orSCOM3selection
0:PB3/AN7
1:SCOM3
Bit2 COM2EN:PB4/CLOorSCOM2selection
0:PB4/CLO
1:SCOM2
Bit1 COM1EN:PC1orSCOM1selection
0:PC1
1:SCOM1
Bit0 COM0EN:PC0orSCOM0selection
0:PC0
1:SCOM0