LC75808W
www.onsemi.com
14
Control Data Functions
1. KC1 to KC6: Key scan output state setting data
These control data bits set the states of the key scan output pins KS1 to KS6.
Output pin KS1 KS2 KS3 KS4 KS5 KS6
Key scan output state setting data KC1 KC2 KC3 KC4 KC5 KC6
For example, if KC1 to KC3 are set to 1, and KC4 to KC6 are set to 0, then the output pins KS1 to KS3 will output
high levels (V
DD
) and the output pins KS4 to KS6 will output low levels (V
SS
) in the key scan standby state.
Note that key scan output signal is not output from output pins that are set low.
2. PC1 to PC4: General-purpose output port state setting data
These control data bits set the states of the general-purpose output ports P1 to P4.
Output pin P1 P2 P3 P4
General-purpose output port state setting data PC1 PC2 PC3 PC4
For example, if PC1 and PC2 are set to 1, and PC3 and PC4 are set to 0, then the output pins P1 and P2 will output
high levels (V
DD
) and the output pins P3 and P4 will output low levels (V
SS
).
3. CT0 to CT3, CTC: Display contrast setting data
These control data bits set the display contrast.
CT0 to CT3: Display contrast setting (11 steps)
CT0 CT1 CT2 CT3 LCD drive 4/4 bias voltage supply V
LCD
0 level
0 0 0 0 0.94V
LCD
=V
LCD
-(0.03V
LCD
2)
1 0 0 0 0.91V
LCD
=V
LCD
-(0.03V
LCD
3)
0 1 0 0 0.88V
LCD
=V
LCD
-(0.03V
LCD
4)
1 1 0 0 0.85V
LCD
=V
LCD
-(0.03V
LCD
5)
0 0 1 0 0.82V
LCD
=V
LCD
-(0.03V
LCD
6)
1 0 1 0 0.79V
LCD
=V
LCD
-(0.03V
LCD
7)
0 1 1 0 0.76V
LCD
=V
LCD
-(0.03V
LCD
8)
1 1 1 0 0.73V
LCD
=V
LCD
-(0.03V
LCD
9)
0 0 0 1 0.70V
LCD
=V
LCD
-(0.03V
LCD
10)
1 0 0 1 0.67V
LCD
=V
LCD
-(0.03V
LCD
11)
0 1 0 1 0.64V
LCD
=V
LCD
-(0.03V
LCD
12)
CTC: Display contrast adjustment circuit state setting
CTC Display contrast adjustment circuit state
0 The display contrast adjustment circuit is disabled, and the V
LCD
0 pin level is forced to the V
LCD
level.
1 The display contrast adjustment circuit operates and the display contrast is adjusted.
Note that although the display contrast can be adjusted by operating the built-in display contrast adjustment circuit, it
is also possible to apply fine adjustments to the contrast by connecting an external variable resistor to the V
LCD
4 pin
and modifying the V
LCD
4 pin voltage. However, the following conditions must be met: (V
LCD
0 - V
LCD
4) 4.5 V,
and 1.5 V V
LCD
4 0 V.