64CH Segment Driver For Dot Matrix LCD 19
Display Control Instruction
The display control instructions control the internal state of the KS0108B. Instruction is received
from MPU to KS0108B for the display control. The following table shows various instructions.
INSTRUCTION RS
RW
1
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Read data
FUNCTION
Reads data (DB[7:0])
from display data RAM to
the data bus.
Read Display
1
Date
Writes data (DB[7:0]) into
the DDRAM. After writing
instruction, Y address is
incriminated by 1
automatically
Write Display
Date
1
0
Write data
Reads the internal
status
BUSY
0: Ready
1: In operation
ON/OFF
0: Display ON
1: Display OFF
RESET
0: Normal
1: Reset
Sets the Y address at
the column address
counter
Bus
y
ON/ Re-
Status Read
0
0
1
0
0
1
0
0
0
0
OFF
set
Set Address (Y
address)
0
Y address (0~63)
Indicates the Display
Data RAM displayed at
the top of the screen.
Sets the X address at
the X address register.
Controls the display ON
or OFF. The internal
status and the DDRAM
data is not affected.
0: OFF, 1: ON
Set Display
Start Line
0
0
0
0
1
1
1
0
Display start line (0~63)
Set Address (X
address)
1
1
1
1
1
1
Page (0~7)
1
Display On/off
0
0
0
0
1
0/1
1. Display On/Off
The display data appears when D is 1 and disappears when D is 0.
Though the data is not on the screen with D=0, it remains in the display data RAM.
Therefore, you can make it appear by changing D=0 into D=1.
RS
0
R/W
0
DB7
0
DB6
0
DB5
1
DB4
1
DB3
1
DB2
1
DB1
1
DB0
D
2. Set Address (Y Address)
Y address (AC0~AC5) of the display data RAM is set in the Y address counter.
An address is set by instruction and increased by 1 automatically by read or write operations
of display data.
RS
0
R/W
0
DB7
0
DB6
1
DB5
AC5
DB4
AC4
DB3
AC3
DB2
AC2
DB1
AC1
DB0
AC0