Datasheet

Appendix B Internal I/O Registers
Rev. 6.00 Aug 04, 2006 page 599 of 680
REJ09B0145-0600
LPCR—LCD Port Control Register H'C0 LCD controller/driver
Bit
Initial value
Read/Write
7
DTS1
0
R/W
6
DTS0
0
R/W
5
CMX
0
R/W
0
SGS0
0
R/W
2
SGS2
0
R/W
1
SGS1
0
R/W
4
SGX
0
R/W
Segment driver select
Bit 3
SGS3
0
0
0
0
0
1
0
0
0
0
1
Bit 2
SGS2
0
0
0
1
1
*
0
0
0
1
*
Bit 1
SGS1
0
0
1
0
1
*
0
0
1
*
*
Bit 0
SGS0
0
1
*
*
*
*
0
1
*
*
*
Function of Pins SEG
32
to SEG
1
3
SGS3
0
R/W
Bit 4
SGX
0
0
0
0
0
0
1
1
1
1
1
Port
SEG
SEG
SEG
SEG
SEG
Port
*1
SEG
40
to SEG
33
Port
Port
SEG
SEG
SEG
SEG
Port
SEG
32
to SEG
25
Port
Port
Port
SEG
SEG
SEG
Port
Do not use
SEG
24
to SEG
17
Port
Port
Port
Port
SEG
SEG
Port
SEG
16
to SEG
9
Port
Port
Port
Port
Port
SEG
Port
Notes
(Initial value)
*
: Don’t care
SEG
8
to SEG
1
Duty select, common function select
Expansion signal select
Bit 7
DTS1
0
0
0
0
1
1
1
1
Bit 6
DTS0
0
0
1
1
0
0
1
1
Bit 5
CMX
0
1
0
1
0
1
0
1
Duty Cycle
Static
1/2 duty
1/3 duty
1/4 duty
Common Drivers
COM
1
COM
4
to COM
1
COM
2
to COM
1
COM
4
to COM
1
COM
3
to COM
1
COM
4
to COM
1
COM
4
to COM
1
Do not use COM
4
, COM
3
, and COM
2
COM
4
to COM
2
output the same waveform as COM
1
Do not use COM
4
and COM
3
COM
4
outputs the same waveform as COM
3
and COM
2
outputs the same waveform as COM
1
Do not use COM
4
Do not use COM
4
Notes
0
1
SEG
40
to SEG
37
pin* (Initial value)
CL
1
, CL
2
, DO and M pin
Note: * Functions as ports when SGS3 to SGS0 are set at "0000".
In the case of the H8/38347 Group and H8/38447 Group the initial values of these bits must not be changed.
Note: 1. SEG
40
to SEG
37
are external expansion pins.