LPCR—LCD port control register
H'C0
LCD controller/driver
Bit
7
DTS1
0
6
DTS0
0
5
CMX
0
4
3
2
SGS2
0
1
SGS1
0
0
SGS0
0
SGX
0
SGS3
0
Initial value
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Segment driver select
Function of Pins SEG32 to SEG1
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Notes
(Initial value)
SEG40
SEG32
SEG24
SEG16
SEG8
SGX SGS3 SGS2 SGS1 SGS0 to SEG33 to SEG25 to SEG17 to SEG9 to SEG1
0
0
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
1
0
0
1
0
1
0
1
Port
SEG
SEG
SEG
SEG
SEG
Port*1
Port
Port
SEG
SEG
SEG
SEG
Port
Port
Port
Port
SEG
SEG
SEG
Port
Do not use
Port
Port
Port
Port
SEG
SEG
Port
Port
Port
Port
Port
Port
SEG
Port
*
*
*
*
*
*
0
0
0
0
0
1
0
1
1
*
*
*
*
*
*
Note: *1. SEG40 to SEG37 are external expansion pins.
: Don’t care
*
Expansion signal select
0
1
SEG40 to SEG37 pin* (Initial value)
CL1, CL2, DO and M pin
Note: * Functions as ports when SGS3 to SGS0 are set at "0000".
Duty select, common function select
Bit 7 Bit 6 Bit 5
Duty Cycle
Notes
Do not use COM4, COM3, and COM2
COM4 to COM1 COM4 to COM2 output the same waveform as COM1
COM2 to COM1 Do not use COM4 and COM3
Common Drivers
COM1
DTS1 DTS0 CMX
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Static
1/2 duty
1/3 duty
1/4 duty
COM4 to COM1 COM outputs the same waveform as COM and COM outputs the same waveform as COM
4
3
2
1
COM3 to COM1 Do not use COM4
COM4 to COM1 Do not use COM4
—
COM4 to COM1
446