
Display Control Commands
Display control commands have an 8-bit format and are transferred using the serial input function. Commands consist of
a command identification code in the first byte and command data in the following bytes. The following commands are
supported.
1 COMMAND0: Display memory (VRAM) write address setup command
2 COMMAND1: Display character data write command
3 COMMAND2: Vertical display start position and vertical character size setup command
4 COMMAND3: Horizontal display start position and horizontal character size setup command
5 COMMAND4: Display control setup command
6 COMMAND5: Display control setup command
7 COMMAND6: Synchronizing signal detection setup command
8 COMMAND7 to COMMAND12: Display control setup commands
9 COMMAND13 to COMMAND17: VPS/PDC control commands
No. 5833-8/32
LC74798, 74798M
Display Control Command Table
First byte
Second byte
Command
Command identification code
Data
Data
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
COMMAND0
1
0
0
0
V3
V2
V1
V0
0
0
0
H4
H3
H2
H1
H0
(Write address setup)
COMMAND1
1
0
0
1
0
0
0
0
at
c6
c5
c4
c3
c2
c1
c0
(Character write)
COMMAND2 (Vertical character size
1
0
1
0
VS
VS
VS
VS
0
FS
VP
VP
VP
VP
VP
VP
and vertical display start position)
21
20
11
10
5
4
3
2
1
0
COMMAND3 (Horizontal character size
1
0
1
1
HS
HS
HS
HS
0
0
HP
HP
HP
HP
HP
HP
and horizontal display start position)
21
20
11
10
5
4
3
2
1
0
COMMAND4
1
1
0
0
TST
RAM
OSC
SYS
0
BLK
BLK
BLK
BK
BK
RV
DSP
(Display control)
MOD
ERS
STP
RST
2
1
0
1
0
ON
COMMAND5
1
1
0
1
NP1
NP0
NON
INT
0
RSH
HLF
BCL
CB
PH
PH
PH
(Display control)
LV2
INT
2
1
0
COMMAND6
1
1
1
0
SEL
MOD
DIS
MUT
0
RN
RN
RN
SN
SN
SN
SN
(Synchronizing signal detection)
0
0
LIN
2
1
0
3
2
1
0
COMMAND7
1
1
1
1
0
0
0
0
0
CIN
CIN
VNP
VSP
MSK
MSK
EGL
(Display control)
SEL
CTL
SEL
SEL
ERS
SEL
COMMAND8
1
1
1
1
0
0
0
1
0
LNA
LNA
LNA
LNA
LPA
LPA
LPA
(Display control)
3
2
1
0
2
1
0
COMMAND9
1
1
1
1
0
0
1
0
0
LNB
LNB
LNB
LNB
LPB
LPB
LPB
(Display control)
3
2
1
0
2
1
0
COMMAND10
1
1
1
1
0
0
1
1
0
LNC
LNC
LNC
LNC
LPC
LPC
LPC
(Display control)
3
2
1
0
2
1
0
COMMAND11
1
1
1
1
0
1
0
0
0
0
VSP
VSP
LNC
MOD
LNB
MOD
(Display control)
DCK
SLC
SEL
3
SEL
2
COMMAND12
1
1
1
1
0
1
0
1
0
VIN
VIN
SEL
HLF
SEL
SEL
CTL
(Display control)
NP
2
22
TON
2
1
3
COMMAND13
1
1
1
1
0
1
1
0
0
CPA
CPA
0
VPM
VPM
VPM
VPM
(VPS/PDC control)
1
0
3
2
1
0
COMMAND14
1
1
1
1
0
1
1
1
0
VMW VMW
HBS
HBS
BMS
EMS
DCE
(VPS/PDC control)
SE2
SEL
2
1
COMMAND15
1
1
1
1
1
0
0
0
0
0
ECV
ECV
ECV
ECV
ECV
ECV
(VPS/PDC control)
15
14
13
12
11
5
COMMAND16
1
1
1
1
1
0
0
1
0
ECP
ECP
ECP
ECP
ECP
ECP
ECP
(VPS/PDC control)
19
18
17
16
15
14
13
COMMAND17
1
1
1
1
1
0
1
0
0
0
ECP
ECP
ECP
ECP
ECP
ECP
(VPS/PDC control)
25
24
23
22
21
20
Once written, a first byte command identification code is stored until the next first byte is written. However, when the display character data write command
(COMMAND1) is written, the LC74798/M locks into the display character data write mode, and another first byte cannot be written.
When the CS pin is set high, the LC74798/M is set to the COMMAND0 (display memory write address setup mode) state.