HT46R064G/065G/0662G
Enhanced A/D Type 8-Bit OTP MCU with OPA
The SCOMEN bit in the SCOMC register is the overall master control for the LCD Driver, however
this bit is used in conjunction with the COMnEN bits to select which Port B and Port C pins are used
for LCD driving. Note that the Port Control register does not need to first setup the pins as outputs to
enable the LCD driver operation.
SCOMEN
COMnEN
Pin Function
I/O
O/P Level
0 or 1
0
1
1
X
0
1
I/O
0 or 1
SCOMN
VDD/2
Output Control
LCD Bias Control
The LCD COM driver enables a range of selections to be provided to suit the requirement of the LCD
panel which is being used. The bias resistor choice is implemented using the ISEL1 and ISEL0 bits in
the SCOMC register.
SCOMC Register
Bit
Name
R/W
7
6
ISEL1
R/W
0
5
ISEL0
R/W
0
4
3
2
1
0
SCOMEN COM3EN COM2EN COM1EN COM0EN
¾
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
POR
Bit 7
Reserved Bit
1: Unpredictable operation - bit must NOT be set high
0: Correct level - bit must be reset to zero for correct operation
Bit 6,5
ISEL1, ISEL0: SCOM operating current selection (VDD=5V)
00: 25mA
01: 50mA
10: 100mA
11: 200mA
Bit 4
SCOMEN: SCOM module on/off control
0: disable
1: enable
SCOMn can be enable by COMnEN if SCOMEN=1
Bit 3
Bit 2
Bit 1
Bit 0
COM3EN: PC6 or SCOM3 selection
0: GPIO
1: SCOM3
COM2EN: PC7 or SCOM2 selection
0: GPIO
1: SCOM2
COM1EN: PB7 or SCOM1 selection
0: GPIO
1: SCOM1
COM0EN: PB6 or SCOM0 selection
0: GPIO
1: SCOM0
Rev. 1.00
98
March 3, 2011