Rev. 2.50 228 June 22, 2017 Rev. 2.50 229 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
SCOM Function for LCD
ThedeviceshavethecapabilityofdrivingexternalLCDpanels.ThecommonpinsforLCDdriving,
SCOM0~SCOM3,arepinsharedwithcertainpinonthePC0~PC3orPC0~PC1,PC6~PC7port.
TheLCDsignals(COMandSEG)aregeneratedusingtheapplicationprogram.
LCD Operation
AnexternalLCDpanelcanbedrivenusingthisdevicebyconguringthePC0~PC3orPC0~PC1,
PC6~PC7pinsascommonpinsandusingotheroutputportslinesassegmentpins.TheLCDdriver
functioniscontrolledusingtheSCOMCregisterwhichinadditiontocontrollingtheoverallon/off
functionalsocontrolsthebiasvoltagesetupfunction.ThisenablestheLCDCOMdrivertogenerate
thenecessaryV
DD
/2voltagelevelsforLCD1/2biasoperation.
TheSCOMENbitintheSCOMCregisteristheoverallmastercontrolfortheLCDdriver,however
thisbitisusedinconjunctionwiththeCOMnENbitstoselectwhichPortCpinsareusedforLCD
driving.NotethatthePortControlregisterdoesnotneedtorstsetupthepinsasoutputstoenable
theLCDdriveroperation.
LCD COM Bias
SCOMEN COMnEN Pin Function O/P Level
0 X I/O
0 or 1
1 0 I/O 0 or 1
1 1 SCOMn V
DD
/2
Output Control