English
Language : 

DEM16216SYH-LY Datasheet, PDF (9/22 Pages) List of Unclassifed Manufacturers – DEM16216SYH-LY
DEM 16216 SYH-LY
Product Specification
9.INSTRUCTION DESCRIPTION
Outline
To overcome the speed difference between the internal clock of KS0070B and the MPU clock, KS0070B performs
internal operations by storing control information to IR or DR. The internal operation is determined according to the
signal from MPU, composed of read/write and data bus (refer to table 5.)
Instruction can be divided largely into four kinds:
(1) KS0070B function set instructions (set display methods, set data length, etc.)
(2) Address set instructions to internal RAM.
(3) Data transfer instructions with internal RAM.
(4) Others.
The address of the internal RAM is automatically increased or decreased by 1.
*NOTE: During internal operation, busy flag (DB7) is read”1”. Busy flag check must be preceded by the next
instruction.
When you make an MPU program with checking the busy flag (DB7), it must be necessary 1/2 fosc for executing the
next instruction by falling E signal after the busy flag (DB7) goes to “0”.
Contents
1) Clear display
RS
R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
0
0
1
Clear all the display data by writing “20H”(space code) to all DDRAM address, and set the DDRAM addresses to
“00H” in the AC (address counter). Return cursor to original status, namely, bring the cursor to the left edge on first
line of the display. Make entry mode increment (I/D=“1”).
2) Return home
RS
R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
0
1
x
Return home is the cursor return home instruction.
Set DDRAM address to “00H” in the address counter. Return cursor to its original site and return display to its
original status, if shifted. Contents of DDRAM does not change.
3) Entry mode set
RS
R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
0
0
0
0
1
I/D
SH
Set the moving direction of cursor and display.
I/D: increment/decrement of DDRAM address is increased by 1.
When I/D=”1”, cursor/blink moves to right and DDRAM address is increased by 1.
When I/D=”0”, cursor/blink moves to left and DDRAM address is increased by 1.
CGRAM operates the same as DDRAM, when reading from or writing to CGRAM.
SH: shift of entire display
When DDRAM is in read (CGRAM read/write) operation or SH=”0”, shift of entire display is not performed.
If SH=”1” and in DDRAM write operation, shift of entire display is performed according to I/D value (I/D=”1”:
shift left, I/D=”0”: shift right).
7