DOCUMENT NO. REV.NO PAGE
00 16/20
6.2.2 Cursor Home
DB7 DB6
DB5
DB4
DB3 DB2
DB1
DB0
0 0 0 0 0 0 1
RS=0, R/W=0 02H to 03H
This instruction
(1) Clears the contents of the address counter (ACC) to 00H.
(2) Sets the address counter (ACC) to point to the DD-RAM.
(3) Sets the display for zero character shift (returns original position).
(4) If the cursor is displayed, moves the left most character in the top line (upper line).
6.2.3 Entry Mode Set
DB7
DB6
DB5
DB4
DB3 DB2 DB1 DB0
0 0 0 0 0 1 I/D
RS=0, R/W=0 04H to 07H
The I/D bit selects the way in which the contents of the address counter (ACC) are modified after every
access to DD-RAM or CG-RAM.
I/D=1: The address counter (ACC) is incremented.
I/D=0: The address counter (ACC) is decremented.
The S bit enable display shift, instead of cursor shift , after each write or read to the DD-RAM.
S=1: Display shift enabled.
S=0: Cursor shift enabled.
The direction in which the display is shifted is opposite in sense to that of the cursor.
For example, if S=0 and I/D=1, the cursor would shift one character to the right after a MPU writes to
DD-RAM. However if S=1 and I/D=1, the display would
shift one character to the
left and the cursor would
maintain its position on panel.
The cursor will already be shifted in the direction selected by I/D during reads of the DD-RAM,
irrespective of the value of S. Similarly reading and writing the CG-RAM always shift the cursor.
Also both lines are shifted simultaneously.
Table-14 Cursor move and Display shift by the “Entry Mode Set”
I/D S
After writing DD-RAM data After reading DD-RAM data
0 0 The cursor moves one character to the
The cursor moves one character
left.
to the left.
1 0 The cursor moves one character to the
The cursor moves one character to
right.
the right.
0 1 The display shifts one character to the
The cursor moves one character to
right without cursor’s move.
the left.
1 1 The display shifts one character to the left
The cursor moves one character
without cursor’s move.
to the right.
相关PDF资料
M0240SD-402MDAR1-3 MODULE VF CHAR 2X40 5.34MM
M0420SD-204MDAR1-C MODULE VF CHAR 4X20 4.87MM
M0420SD-204SDAR1-3 MODULE VF CHAR 4X20 4.84MM
M1MA142WAT1G DIODE SW DUAL SS CA 80V SOT-323
M1MA142WKT1G DIODE SW DUAL SS CC 80V SOT-323
M1MA152WAT1 DIODE SWITCH DUAL CA 80V SC59
M1MA152WKT1G DIODE SWITCH DUAL CA 80V SC59
M2256PW DISPLAY SCREEN 22" MULTI-TOUCH
相关代理商/技术参数
M0224-SS-0 制造商:RAF Electronic Hardware 功能描述:
M0225YH450 制造商:n/a 功能描述:Power Semiconductor
M0240SD-402MDAR1-3 功能描述:真空荧光显示器 - VFD DIM=182.0x33.5x17.6 5 x 8 Dot RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装:
M024214-00A 制造商:Teac 功能描述:ADPTR;SLIM;40PIN;IDE ADAP ROHS 制造商:Teac 功能描述:MISSING COMPUTER PARTS - Bulk
M024R7JT631 制造商:KOA Speer Electronics Inc 功能描述:
M025108TKSS 制造商:n/a 功能描述:Ships in 2 days
M02510MPFSS 制造商:n/a 功能描述:Ships in 2 days
M02510MPFZ 制造商:n/a 功能描述:Ships in 2 days