APU0071
1-4. Display ON / OFF Control
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Code 0
0
0
000
1
D
C
B
Control display / cursor / blink ON / OFF 1 bit register.
D : Display ON / OFF control bit
When D = “High”, entire display is turned on.
When D = “Low”, entire display is turned off, but display data is remains in DDRAM.
C : Cursor ON / OFF control bit
When C = “High”, cursor is turned on.
When C = “Low”, cursor is disappeared in current display, but I / D register preserves its data.
B : Cursor Blink ON / OFF control bit
When B = “High”, cursor blink is on, performs alternately between all high data (black pattern) and
display character at the cursor position.
When B = “Low”, blink is off.
1-5. Cursor or Display Shift
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Code 0
0
0
0
0
1 S/C R/L ∗
∗
" ∗ " : Don't care
Without writing or reading of display data, shift right / left the cursor position or display.
This instruction is used to correct or search display data.
During 2-line mode display, cursor moves to the 2nd line after 16th digit of 1st line.
Note that display shift is performed simultaneously in all the line.
When displayed data is shifted repeatedly, each line is shifted individually.
When display shift is performed, the contents of address counter are not changed.
Table 4. Shift patterns according to S / C and R / L bits
S/C
0
0
1
1
R/L
0
1
0
1
Operation
Shift cursor to the left, AC is decreased by 1
Shift cursor to the right, AC is increased by 1
Shift all the display to the left, cursor moves according to the display
Shift all the display to the right, cursor moves according to the display
Copyright ANPEC Electronics Corp.
12
Rev. A.07 - FEB., 2002
www.anpec.com.tw