Hardware Reference
In-Depth Information
Code
Execution
Time
Instruction
Description
RS
R/W
B7
B6
B5
B4
B3
B2
B1
B0
Clears display and returns cursor to
the home position (address 0).
1.64 ms
Clear display
0
0
0
0
0
0
0
0
0
1
Returns cursor to home position
without changing DDRAM contents.
Also returns display being shifted to
the original position.
1.64 ms
*
Cursor home
0
0
0
0
0
0
0
0
1
Sets cursor move direction (I/D);
specifies to shift the display (S). These
operations are performed during data
read/write.
40 µs
Entry mode
set
0
0
0
0
0
0
0
1
I/D
S
Sets on/off of all display (D), cursor
on/off (c), and blink of cursor position
character (B).
40 µs
Display on/off
control
0
0
0
0
0
0
1
D
C
B
Sets cursor-move or display-shift
(S/C), shift direction (R/L). DDRAM
contents remain unchanged.
40 µs
Cursor/
display shift
*
*
0
0
0
0
0
1
S/C
R/L
Sets interface data length (DL),
number of display line (N), and
character font (F).
40 µs
*
*
Function set
0
0
0
0
1
DL
N
F
Sets the CGRAM address. CGRAM
data are sent and received after this
setting.
40 µs
Set CGRAM
address
0
0
0
1
CGRAM address
Sets the DDRAM address. DDRAM
data are sent and received after this
setting.
40 µs
Set DDRAM
address
0
0
1
DDRAM address
Reads busy flag (BF) indicating internal
operation being performed and reads
CGRAM or DDRAM address counter
contents (depending on previous
operation).
0 µs
Read busy
flag and
address
counter
0
1
BF
CGRAM/DDRAM address
Write
CGRAM or
DDRAM
40 µs
1
0
writes data
Writes data to CGRAM or DDRAM.
Read from
CGRAM or
DDRAM
40 µs
1
1
read data
Reads data from CGRAM or DDRAM.
 
Search WWH ::




Custom Search