Datasheet
Section 13 LCD Controller/Driver
Rev. 6.00 Aug 04, 2006 page 435 of 680
REJ09B0145-0600
Bit 4: Expansion Signal Selection (SGX)
Bit 4 (SGX) selects whether the SEG
40
/CL
1
, SEG
39
/CL
2
, SEG
38
/DO, and SEG
37
/M pins are used as
segment pins (SEG
40
to SEG
37
) or as segment external expansion signal pins (CL
1
, CL
2
, DO, and
M). In the H8/38347 Group and H8/38447 Group this bit should be left at its initial value and not
written to. Changing the value of this bit may prevent the SEG/COM signal from operating
normally.
Bit 4
SGX Description
0 SEG
40
to SEG
37
pins* (initial value)
1CL
1
, CL
2
, DO, and M pins
Note: * Functions as ports when SGS3 to SGS0 are set at “0000”.
Bits 3 to 0: Segment driver select 3 to 0 (SGS3 to SGS0)
Bits 3 to 0 select the segment drivers to be used. The SGX = 0 setting is selected on the H8/38347
and H8/38447.
Function of Pins SEG
40
to SEG
1
Bit 4
SGX
Bit 3
SGS3
Bit 2
SGS2
Bit 1
SGS1
Bit 0
SGS0
SEG
40
to
SEG
33
SEG
32
to
SEG
25
SEG
24
to
SEG
17
SEG
16
to
SEG
9
SEG
8
to
SEG
1
Notes
0 0000PortPortPortPortPort(initial value)
0 0 0 0 1 SEG Port Port Port Port
0001* SEG SEG Port Port Port
0010* SEG SEG SEG Port Port
0011* SEG SEG SEG SEG Port
01***SEG SEG SEG SEG SEG
1 0000Port(
*
1
) Port Port Port Port
1 0001Do not use
1001*
101**
11***
*: Don’t care
Note: 1. SEG
40
to SEG
37
are external expansion pins.










