English
Language : 

HD66773R Datasheet, PDF (37/133 Pages) Renesas Technology Corp – 262,144-color, 132 x 176-dot Graphics Controller Driver for TFT LCD panels
HD66773R
LG2–0: Rewrite data to GRAM after comparing the data that are written by the microcomputer to GRAM
with the values in the compare registers (CP17–0) and performing a logical operation. For details, see
“Graphics Operation function”.
CP15–0: Set the value for the compare register, with which the data read out from GRAM or data written
to GRAM by the microcomputer are compared. This function is not available with 18/19-bit interface
modes. In 18/19-bit interface modes, make sure LG2-0 = “000”.
BGR: Reverse the order from R, G, B to B, G, R for GRAM data. When setting BGR = 1, CP15-0 and
WM15-0 bits will be automatically changed to the same effect.
Write data (Note 1)
18 bit
00 00 0 00 0 01 11 0 0 11 1 0
RGB- BGR conversion (BGR)
Logical/compare
operation (LG2 - 0)
Logical Operatioin on GRAM write data
LG2-0 = "000" : Replace
LG2-0 = "001" : OR
LG2-0 = "010" : AND
LG2-0 = "011" : EOR
Compare (Compare W/R data with compare register)
LG2-0 = "100": READ data correspond
LG2-0 = "101": READ data not correspond
LG2-0 = "110": Write data correspond
LG2-0 = "111": Write data not correspond
Write data mask*
(WM15 - 0)
(Note 2)
Wrte data mask (WM15-0)
GRAM
Note 1) The logical and compare operations are effective in 8-/16-bit interace modes. Otherwise, set LG2-0 = "000".
The bit assignment is different for each interface mode.
Note 2) Write data mask (WM15-0) is set with the RAM write data mask register. The write data mask is available in
8-/16-bit interace modes.
Rev.1.10, Jun.21.2003, page 37 of 133