
T6A04A
2002-03-06
13
X/Y (page) counter, up/down mode select (UDE)
/WR
D/I
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
0
0
0
0
1
0
0
X-Counter/Down Mode (04H)
0
0
0
0
0
0
0
1
0
1
X-Counter/Up Mode (05H)
0
0
0
0
0
0
0
1
1
0
Y-Counter/Down Mode (06H)
0
0
0
0
0
0
0
1
1
1
Y-Counter/Up Mode (07H)
This command selects the counter and the up/down mode. For instance, when X-counter/up mode is selected,
the X-address is incremented in response to every data read and write. However, when X-counter/up mode is
selected, the address in the Y-(page) counter will not change. Hence the Y-address must be set (with the SYE
command) before it can be changed.
Note 4: An L input to /RST sets the Y-counter to up mode.
Test mode select (CHE)
/WR
D/I
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
0
0
1
1
*
*
*
*
: INVALID
This command selects the test mode. Do not use this command.
Set Y-(page) address (SYE)
/WR
D/I
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
0
1
A
A
A
A
A
Range: 8-bit/Word: 20H to 2EH (page 0 to page 14)
6-bit/Word: 20H to 33H (page 0 to page 19)
When operating in 8-bits-per-word mode, this command selects one of the 15 pages from the display RAM. (Do
not try to select a page outside this range.) When operating in 6-bits-per-word mode, this command selects one
of the 20 pages from the display RAM.
Note 5: An L input to /RST sets the Y-address to page 0.
Set Z-address (SZE)
/WR
D/I
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
1
A
A
A
A
A
A
Range: 40H to 7FH (ZAD0 to ZAD63)
This command sets the top row of the LCD screen, irrespective of the current X-address. For instance, when
the Z-address is 32, the top row of the LCD screen is address 32 of the display RAM, and the bottom row of the
LCD screen is address 31 of the display RAM.
Note 6: An L input to /RST sets the Z-address to 0.