English
Language : 

HD66773R Datasheet, PDF (78/133 Pages) Renesas Technology Corp – 262,144-color, 132 x 176-dot Graphics Controller Driver for TFT LCD panels
HD66773R
4. Write mode 4: AM = 1, LG2–0 = 110/111
This mode is used when data are horizontally written with comparing the write data and the value set in the
compare register (CP15–0). When the result of the comparison satisfies a condition, the write data sent
from the microcomputer are written to GRAM. In this operation, the write-data mask function (WM15–0)
is available. After writing, the address counter (AC) automatically increments by 256, and automatically
jumps to the counter either at the top of the next right row (ID = 1) or the next left row (I/D = 0) according
to the setting in the I/D bit, when the address reaches the bottom of GRAM.
Operation Examples:
1) I/D = "1", AM = "1", LG2-0 = "111" (unmatched write)
2) CP15-0 = "2860"H
2) WM15-0 = "0000"H
3) AC = "0000"H
WM15
WM0
Write-data mask:
00 0 00 00 0 0 00 00 00 0
Compare register:
Write data (1):
Write data (2):
CP15
CP0
001 01 00 0 011 0000 0
(Unmatched)
DB17
DB10 DB8
DB1
10 0 11 00 1 1 00 11 11 1
C
Conditional
replacement
R
10 0 1 100 1 100 1 1 1 1 1
(Matched)
Compare
operation
Conditional
replacement
0 0 1 0 1 0 0 0 0 )1 1 0 0 0 0 0
C
R
Compare
operation
*** * *** * *** * ** **
"0000"H
"0001"H
"0000"H 1 0 0 1 1 0 0 1 1 0 0 1 1 1 1 1 Write data (1)
"0100"H * * * * * * * * * * * * * * * * Write data (2)
"AF00"H
GRAM
Note 1) The data in the bit with "*" are not overwritten.
Note 2) When data are written to the address "AF00"H, the Address Counter
(AC) jumps to "0001"H.
Rev.1.10, Jun.21.2003, page 78 of 133