No. 5557-8/30
LC74794, 74794M
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 commands
Display Control Command Table
Once written, the command identification 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 LC74794/M locks into the display
character data write mode, and another first byte cannot be written.
When the CS1 pin is set high, the LC74794/M is set to the COMMAND0 (display memory write address setup mode)
state.
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
Write address setup
1
0
0
0
V3
V2
V1
V0
0
0
0
H4
H3
H2
H1
H0
COMMAND1
Character write
1
0
0
1
0
0
0
0
at
c6
c5
c4
c3
c2
c1
c0
COMMAND2
Vertical character size and
vertical display start position
1
0
1
0
VS
21
VS
20
VS
11
VS
10
0
FS
VP
5
VP
4
VP
3
VP
2
VP
1
VP
0
COMMAND3
Horizontal character size and
horizontal display start position
1
0
1
1
HS
21
HS
20
HS
11
HS
10
0
HP
5
HP
4
HP
3
HP
2
HP
1
HP
0
COMMAND4
Display control
1
1
0
0
TST
MOD
RAM
ERS
OSC
STP
SYS
RST
0
BLK
2
BLK
1
BLK
0
BK
1
BK
0
RV
DSP
ON
COMMAND5
Display control
1
1
0
1
NP1
NP0
NON
INT
0
0
HLF
INT
BCL
CB
PH
2
PH
1
PH
0
COMMAND6
Synchronizing signal detection
1
1
1
0
SEL
0
MOD
0
DIS
LIN
MUT
0
RN
2
RN
1
RN
0
SN
3
SN
2
SN
1
SN
0
COMMAND7
Display control
1
1
1
1
0
0
0
0
0
CIN
SEL
CIN
CTL
VNP
SEL
VSP
SEL
MSK
ERS
MSK
SEL
EGL
COMMAND8
Display control
1
1
1
1
0
0
0
1
0
LNA
3
LNA
2
LNA
1
LNA
0
LPA
2
LPA
1
LPA
0
COMMAND9
Display control
1
1
1
1
0
0
1
0
0
LNB
3
LNB
2
LNB
1
LNB
0
LPB
2
LPB
1
LPB
0
COMMAND10
Display control
1
1
1
1
0
0
1
1
0
LNC
3
LNC
2
LNC
1
LNC
0
LPC
2
LPC
1
LPC
0
COMMAND11
Display control
1
1
1
1
0
1
0
0
0
0
0
0
LNC
SEL
MOD
3
LNB
SEL
MOD
2
COMMAND12
Display control
1
1
1
1
0
1
0
1
0
0
0
0
0
SEL
2
SEL
1
CTL
3
COMMAND13
VPS/PDC control
1
1
1
1
0
1
1
0
0
CPA
1
CPA
0
0
VPM
3
VPM
2
VPM
1
VPM
0
COMMAND14
VPS/PDC control
1
1
1
1
0
1
1
1
0
0
0
HBS
2
HBS
1
BMS
EMS
DCE
COMMAND15
VPS/PDC control
1
1
1
1
1
0
0
0
0
0
ECV
15
ECV
14
ECV
13
ECV
12
ECV
11
ECV
5
COMMAND16
VPS/PDC control
1
1
1
1
1
0
0
1
0
ECP
19
ECP
18
ECP
17
ECP
16
ECP
15
ECP
14
ECP
13
COMMAND17
VPS/PDC control
1
1
1
1
1
0
1
0
0
0
ECP
25
ECP
24
ECP
23
ECP
22
ECP
21
ECP
20