English
Language : 

HD66766R Datasheet, PDF (55/97 Pages) Hitachi Semiconductor – 132 x 176-dot Graphics LCD Controller/Driver for 65K Colors
HD66766R
Rev. 1.0-1 / September 2002
3. Write mode 3: AM = 0, LG2-0 = 110/111
This mode is used when the data is holizontally written by comparing the write data and the set value of
the compare resister ( CP7-0 ). When the result of the comparison in a byte unit satisfies the condition
write-data mask function ( WM15-0 ) are also enabled. After writing , the address counter ( AC )
automatically increments by 1 ( I/D =1 ) or decrements by 1 ( I/D = 0 ), and automatically jumps to the
counter edge one-raster-raw below after it has reached the left or right edge of the GRAM.
Operation Examples:
1) I/D = "1", AM = "0" ,
2) CP15-0 = "2860"H
2) WM15-0 = "0000"H
3) AC = "0000"H
LG2-0 = "110" ( Matched write )
Write - data mask :
WM15
WM0
0 0 0 0 0 0 0 0 0 00 0 00 0 0
Compare register :
CP15
CP0
Compare operation
001 010 00 011 00 000
Write data (1) :
DB15
(Matched)
DB0
001 0 1000 01 100 00 0
Write data (2) :
000 001 11 1110 000 0
Conditional replacement
C
R
001 010 00 011 00 000
Compare operation
Replacement
Conditional replacement
C
R
* * * ** * * * * ** * * * * *
"0000"H
"0001"H
001 0 1000 01 100 00 0 * * * * ** * * * * ** * * * *
Matched
replacement of write
data (1)
GRAM
Figure 41 Operation of Write Mode 3
55