Control Data Functions
1.KP1, KP2: Selection data between the key scan output ports and the general-purpose output ports.
These control data bits switch the functions of the KS4/P4 to KS6/P2 output pins between the key scan output port and
the general-purpose output port.
2.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.
For example, if the KS4/P4 to KS6/P2 output pins are set to function as key scan output ports, when KC1 to KC3 are
set to 1 and KC4 to KC6 are set to 0, in the key scan standby state, the KS1 to KS3 output pins will output the high
level (V
DD
) and the KS4 to KS6 pins will output the low level (V
SS
). Note that key scan output signals are not output
from output pins that are set to the low level.
Note: KSn (n = 4 to 6): Key scan output ports
Pn (n = 4 to 2): General-purpose output ports
LC75700T
KP1 KP2
Output pins
Maximum number Number of general-purpose
KS4/P4 KS5/P3 KS6/P2
of key inputs output ports (+ P1)
0 0 KS4 KS5 KS6 30 0 (+1)
1 0 KS4 KS5 P2 25 1 (+1)
0 1 KS4 P3 P2 20 2 (+1)
1 1 P4 P3 P2 15 3 (+1)
Output pins KS1 KS2 KS3 KS4 KS5 KS6
Key scan output state setting data KC1 KC2 KC3 KC4 KC5 KC6
3.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.
For example, if the KS4/P4 to KS6/P2 output pins are set to function as general-purpose output ports, when PC1 and
PC2 are set to 1, and PC3 and PC4 are set to 0, the P1 and P2 output pins will output the high level (V
DD
), and P3 and
P4 will output the low level (V
SS
).
Output pins P1 P2 P3 P4
General-purpose output port state setting data PC1 PC2 PC3 PC4