ST7920
Description of extended instruction set
l
Standby
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
0
0
1
Code
This Instruction will set ST7920 entering the standby mode. Any other instruction follows this instruction will
terminate the standby mode.
The content of DDRAM remains the same.
l
Vertical Scroll or RAM Address Select
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
0
1
SR
Code
When SR = "1", the Vertical Scroll mode is enabled.
When SR = "0", “Set CGRAM Address” instruction (basic instruction) is enabled.
l
Reverse
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
1
R1 R0
Code
Select 1 out of 4 lines to reverse the display and to toggle the reverse condition by repeating this instruction.
R1, R0 initial vale is 00. The first time issuing this instruction, the display will be reversed while the second time
will return the display become normal.
R1
L
R0
L
Description
First line normal or reverse
L
H
H
H
L
Second line normal or reverse
Third line normal or reverse
Fourth line normal or reverse
H
Please note that only 2 lines out of 4 lines of display data can be displayed with one ST7920.
V4.0
23/49
2008/08/18