Rev. 1.50 148 August 28, 2017 Rev. 1.50 149 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
SCOM/SSEG Function for LCD
ThedeviceshavethecapabilityofdrivingexternalLCDpanels.Thecommonandsegmentpins
forLCDdriving,SCOM0~SCOM5andSSEG0~SSEG19orSSEG0~SSEG23,arepin-sharedwith
certainpinsontheI/Oports.TheLCDsignals,COMandSEG,aregeneratedusingtheapplication
program.
LCD Operation
AnexternalLCDpanelcanbedrivenusingthedevicesbyconguringtheI/Opinsascommonpins
andsegmentpins.TheLCDdriverfunctioniscontrolledusingtheLCDcontrolregisterswhichin
additiontocontrollingtheoverallon/offfunctionalsocontrolstheR-typebiascurrentontheSCOM
andSSEGpins.ThisenablestheLCDCOMandSEGdrivertogeneratethenecessaryV
SS
,(1/3)
V
DD
,(2/3)V
DD
andV
DD
voltagelevelsforLCD1/3biasoperation.
TheLCDENbitintheSLCDC0registeristheoverallmastercontrolfortheLCDdriver.Thisbitis
usedinconjunctionwiththeCOMnENandSEGnENbitstoselectwhichI/OpinsareusedforLCD
driving.NotethatthecorrespondingPortControlregisterdoesnotneedtorstsetupthepinsas
outputstoenabletheLCDdriveroperation.
V
DD
(2/3) V
DD
(1/3) V
DD
V
DD
LCD
Voltage
Select
Circuit
LCD
COM/SEG
Analog Switch
LCDEN
ISEL[1:0]
COMnEN COMSEGSn
66
SEGmEN
FRAME
SCOM0/SSEG0
SCOM5/SSEG5
SSEG6
SSEGm
m = 19 for HT66F0175
m = 23 for HT66F0185
Software Controlled LCD Driver Structure