
LCD Controller-Driver
S-4561A
Seiko Instruments Inc.
17
I
Instruction Explanation
The instruction comes in two types - - namely, normal instructions and extended instructions. All instructions excluding the
DISPLAY CLEAR are completed within the instruction command cycle time. Because of this, the CPU does not need for
checking the BUSY flag, and instructions can be input in succession.
1. Normal Instructions
1.1 DISPLAY CLEAR
Clears the display and initializes the state. The display of marks remains unchanged.
DDRAM
DDRAM Address Counter
Entry Mode
Cursor
:
:
:
:
Writes 20H in hexadecimal scale.
Sets address 0. Clears the DISPLAY SHIFT and returns to the default.
Sets to ID=1 [increment].
“
S
”
remains unchanged.
The CURSOR DISPLAY position moves to the 1st line, left end.
“
C
”
remains
unchanged.
The BLINK DISPLAY position moves to the 1st line, left end.
“
B
”
remains
unchanged.
Resets the amount of scroll.
Blink
:
Amount of smooth scroll
:
The DISPLAY CLEAR needs the time for writing space codes in succession in all of DDRAMs. Confirm the completion of the
DISPLAY CLEAR command by checking the BUSY flag. When you wait for the time expressed by equation (1) after
executing the DISPLAY CLEAR command, the BUSY flag does not need to be checked (the value twice as many as the
value expressed in equation (1) is recommended as the wait time).
The contents of the CGRAM, ICONRAM, and ICON BLINK RAM remain unchanged.
The DISPLAY CLEAR command is ignored during the POWER SAVE.
Remark: Always set all space codes in
“
20
”
(hexadecimal scale).
1.2 CURSOR HOME
Initializes the cursor position and the blink position. The contents of the CHARACTER DISPLAY and the ICON DISPLAY
remain unchanged. After this instruction is executed, data is read from the CPU and written in the DDRAM.
z
CH=1 (Cursor Home)
DDRAM Address Counter
DISPLAY SHIFT
CURSOR
: Sets the address to 0.
: Clears the amount of the DISPLAY SHIFT and returns to the initial display screen.
: The CURSOR DISPLAY position moves to the 1st line, left end.
“
C
”
remains
unchanged.
: The BLINK DISPLAY position moves to the 1st line, left end.
“
B
”
remains unchanged.
Amount of SMOOTH SCROLL: Resets the amount of the SCROLL and returns to the initial display screen.
BLINK
z
CH=0 (Cursor Return)
DDRAM Address Counter
DISPLAY SHIFT
CURSOR
: Sets the 1st address on the CURSOR DISPLAY line.
: Clears the amount of the DISPLAY SHIFT and returns to the initial display screen.
: The CURSOR DISPLAY position moves to the same line, left end.
“
C
”
remains
unchanged.
: The BLINK DISPLAY position moves to the 1st line, left end.
“
B
”
remains unchanged.
Amount of SMOOTH SCROLL: Resets the amount of the SCROLL and returns to the initial display screen.
BLINK
RS
0
R/WX
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
0
DB1
0
DB0
1
Normal
Time until DISPLAY CLEAR is completed=
35
fosc(kHz)
msec
Equation (1)
RS
0
R/WX
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
0
DB1
1
DB0
CH
Normal