![](http://datasheet.mmic.net.cn/40000/LC74782_datasheet_1644838/LC74782_7.png)
Display Control Commands
The display control commands have a serial input format with 8-bit units. A command consists of a command identifier
code in the first byte and data in the second and subsequent bytes. There are eight commands as listed below.
x COMMAND0: Display memory (VRAM) write address setup command
y COMMAND1: Display character data write command
z COMMAND2: Vertical display start position and vertical character size setup command
{ COMMAND3: Horizontal display start position and horizontal character size setup command
| COMMAND4: Display control setup command
} COMMAND5: Display control setup command
~ COMMAND6: Synchronization signal detection setup command
COMMAND7: Display control setup command
Display Control Command Table
Once written, the command identifier code in the first byte is stored until the next first byte is written. However, when
the display character data write command (COMMAND1) is written, the LC74782/M locks into the display character
data write mode, and another first byte cannot be written.
When a high level is input to the CS pin, the LC74782/M is set to COMMAND0 (display memory write address setup
mode).
No. 4989-7/16
LC74782, 74782M
First byte
Second byte
Command
Command identification code
Data
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
COMMAND0
1
0
V3
V2
V1
V0
0
H4
H3
H2
H1
H0
(Set write address)
COMMAND1
1
0
1
0
at
c7
c6
c5
c4
c3
c2
c1
c0
(Write character)
COMMAND2
1
0
1
0
VS
0
FS
VP
(Set vertical display start position and
21
20
11
10
5
4
3
2
1
0
vertical character size)
COMMAND3
1
0
1
HS
0
LC
HP
(Set horizontal display start position
21
20
11
10
5
4
3
2
1
0
and horizontal character size)
COMMAND4
1
0
TST
RAM
OSC
SYS
0
BLK
BK
RV
DSP
(Display control)
MOD
ERS
STP
RST
2
1
0
1
0
ON
COMMAND5
1
0
1
NP
NON
INT
0
BCL
CB
PH
(Display control)
1
0
2
1
0
COMMAND6
1
0
MOD
DIS
MUT
0
RN
SN
(Synchronization signal detection)
1
0
LIN
2
1
0
3
2
1
0
COMMAND7
1
EX
PD
EX
PD
0
VNP
VSP
MSK
EGL
(Display control)
1
0
SEL
ERS
SEL