
LCD Controller-Driver
S-4561A
Seiko Instruments Inc.
17
s 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
: Writes 20H in hexadecimal scale.
DDRAM Address Counter
: Sets address 0. Clears the DISPLAY SHIFT and returns to the default.
Entry Mode
: Sets to ID=1 [increment]. “S” remains unchanged.
Cursor
: The CURSOR DISPLAY position moves to the 1st line, left end. “C” remains
unchanged.
Blink
: The BLINK DISPLAY position moves to the 1st line, left end. “B” remains
unchanged.
Amount of smooth scroll
: Resets the amount of 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
: Sets the address to 0.
DISPLAY SHIFT
: Clears the amount of the DISPLAY SHIFT and returns to the initial display screen.
CURSOR
: The CURSOR DISPLAY position moves to the 1st line, left end. “C” remains
unchanged.
BLINK
: 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.
z CH=0 (Cursor Return)
DDRAM Address Counter
: Sets the 1st address on the CURSOR DISPLAY line.
DISPLAY SHIFT
: Clears the amount of the DISPLAY SHIFT and returns to the initial display screen.
CURSOR
: The CURSOR DISPLAY position moves to the same line, left end. “C” remains
unchanged.
BLINK
: 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.
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