English
Language : 

HD66773R Datasheet, PDF (77/133 Pages) Renesas Technology Corp – 262,144-color, 132 x 176-dot Graphics Controller Driver for TFT LCD panels
HD66773R
3. Write mode 3: AM = 0, 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 1 (I/D = 1) or decrements
by 1 (I/D = 0), and jumps to the counter at the opposing edge of the next one-raster-row below after when
the counter reaches either left or right edge of GRAM.
Operation Examples:
1) I / D = "1", AM = "0", LG2-0 = "110" (matched write)
2) CP15-0 = "2860"H
2) WM15-0 = "0000"H
3) AC = "0000"H
Write-data mask:
WM15
WM0
0 00 00 00 0 0 00 000 00
Compare register
Write data (1):
CP15
CP0
0 0 1 0 1 0 0 0 0 11 0 0 0 0 0
(Matched)
DB17
DB10 DB8
DB1
0 01 0 10 00 01 1 00 00 0
Compare
operation
Conditional
replacement
C
R
0 01 01 00 0 011 0 0 000
Write data (2):
0 00 0 0111
Compare Conditional
operation replacement
1 1 1 0 0 0 00 0
C
R
Replacement
* ** ** ** ** ** ** ** *
"0000"H
"0001"H
0 0 1 0 1 0 0 0 0 1 10 0 0 0 0 * * * * * * * * * * * * * * * *
Matched replacement of
write data (1)
GRAM
Rev.1.10, Jun.21.2003, page 77 of 133