14. Dot Matrix LCD Controller (H8/3854 Group)
Rev.3.00 Jul. 19, 2007 page 381 of 532
REJ09B0397-0300
Bit 1—Increment Address Select (INC):
Bit 1 selects either the X address or the Y address as
the address to be incremented after the display memory access specified by the RMW bit. The
selected address is cleared after a display memory access with the maximum value for the valid
display data area; in this case the other address is incremented.
Bit 1: INC
Description
0
Incrementing of display memory Y address has priority; X address is incremented
after Y address overflow
(initial value)
1
Incrementing of display memory X address has priority; Y address is incremented
after X address overflow
Bit 0—Reserved Bit:
Bit 0 is reserved; it should always be cleared to 0.
14.2.4 Address
Register
(LR2)
7
XA2
0
W
6
XA1
0
W
5
XA0
0
W
4
⎯
⎯
⎯
3
YA3
0
W
0
YA0
0
W
2
YA2
0
W
1
YA1
0
W
Bit
Initial value
Read/Write
LR2 is an 8-bit write-only register that sets the display memory X- and Y-direction addresses
accessed by the CPU.
Upon reset, LR2 is initialized to H'00.
Bits 7 to 5—X Address Setting (XA2 to XA0):
Bits 7 to 5 set the display memory X-direction
address. A value from H'0 to H'4 can be set. Do not perform access in the range H'5 to H'7.
When the INC bit in LR1 is set to 1, the address is automatically incremented after the access
specified by the RMW bit in LR1, and is cleared after an H'4 access. When INC is 0 and YA3 to
YA0 represent the maximum value for the valid display data area, the address is incremented after
the access specified by RMW.
Bit 4—Reserved Bit:
Bit 4 is reserved; it should always be cleared to 0.
Bits 3 to 0—Y Address Setting (YA3 to YA0):
Bits 3 to 0 set the display memory Y-direction
address. A value from H'0 to H'F can be set, but display data from H'8 to H'F is invalid with 1/8
duty.
When the INC bit in LR1 is cleared to 0, the address is automatically incremented after the access
specified by the RMW bit in LR1, and is cleared after an access with the maximum value for the
Содержание F-ZTAT H8 Series
Страница 6: ...Rev 3 00 Jul 19 2007 page iv of xxiv REJ09B0397 0300...
Страница 194: ...7 RAM Rev 3 00 Jul 19 2007 page 168 of 532 REJ09B0397 0300...
Страница 234: ...8 I O Ports Rev 3 00 Jul 19 2007 page 208 of 532 REJ09B0397 0300...
Страница 274: ...9 Timers Rev 3 00 Jul 19 2007 page 248 of 532 REJ09B0397 0300...
Страница 352: ...12 A D Converter Rev 3 00 Jul 19 2007 page 326 of 532 REJ09B0397 0300...
Страница 466: ...16 Electrical Characteristics H8 3854 Group Rev 3 00 Jul 19 2007 page 440 of 532 REJ09B0397 0300...
Страница 561: ......