ST7920
Description of basic instruction set
l
Display Clear
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
0
0
1
Code
This instruction will change the following items:
1. Fill DDRAM with "20H"(space code).
2. Set DDRAM address counter (AC) to"00H".
3. Set Entry Mode I/D bit to be "1". Cursor moves right and AC adds 1 after write or read operation.
Return Home
l
l
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
0
1
X
Code
Set address counter (AC) to "00H". Cursor moves to origin. Then content of DDRAM is not changed.
Enry Mode Set
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
1
I/D
S
Code
Set the cursor movement and display shift direction when doing write or read operation.
I/D: Address Counter Control: (Increase/Decrease)
When I/D = "1", cursor moves right, address counter (AC) is increased by 1.
When I/D = "0", cursor moves left, address counter (AC) is decreased by 1.
S: Display Shift Control: (Shift Left/Right)
S
H
H
I/D
H
DESCRIPTION
Entire display shift left by 1
Entire display shift right by 1
L
V4.0
19/49
2008/08/18