Datasheet
DEM 16210 SGH (FPCR) Product Specification
Version:5 PAGE: 7
9. INSTRUCTION DESCRIPTION
Code
Instruction
RS RW DB7 DB6 DB
5
DB4 DB3 DB2 DB1 DB0
Function
Display Clear 0 0 0 0 0 0 0 0 0 1 Clear entire display area.
Display /Cursor
Home
0 0 0 0 0 0 0 0 1 *
Restore display from shift and
load address counter with
DDRAM address 00H.
Entry Mode Set 0 0 0 0 0 0 0 1 I/D S
Specify direction of cursor
movement and display shift
mode. This operation takes
place after each data transfer
(read /write)
Display
ON/OFF
0 0 0 0 0 0 1 D
C B
Specify activation of display (D)
cursor (C) and blinking of
character at cursor position (B)
Display/ Cursor
Shift
0 0 0 0 0 1 S/C R/L * * Shift display or move cursor.
Function Set 0 0 0 0 1 DL N F * *
Set interface data length (DL),
number of display line (N), and
character font (F)
RAM Address
Set
0 0 0 1 ACG
Load the address counter with a
CGRAM address. Subsequent
data access is for CGRAM data.
DD RAM
Address Set
0 0 1 ADD
Load the address counter with a
DDRAM address. Subsequent
data access is for DDRAM data
Busy
Flag/Address
Counter Read
0 1 AC
Read Busy Flag (BF) and
contents of Address Counter
(AC)
CGRAM/
DDRAM Data
Write
1 0 Write data
Write data to CGRAM or
DDRAM
CGRAM
/DDRAM Data
Read
1 1 Read data
Read data from CGRAM or
DDRAM
I/D= 1: Increment I/D=0: Decrement
S =1: Display Shift ON
D =1: Display On
C =1: Cursor Display On
B =1: Cursor Blink On
S/C = 1: Shift Display S/C=0: Move Cursor
R/L = 1: Shift Right R/L =0: Shift Left
DL = 1: 8-Bit DL = 0: 4-Bit
N = 1: Dual Line N=0: Signal Line
F =1: 5 x 10 dots F=0: 5 x 8 dots
BF=1: Internal Operation
BF=0: Ready for Instruction
DDRAM : Display Data RAM
CGRAM: Character Generator
RAM
ACG: Character Generator
RAM address
ADD: Display Data RAM
Address
AC: Address Counter
NOTES:
1. Symbol ā*ā signifies an insignificant bit (disregard).
2. Correct input value for āNā is predetermined for each model.










