English
Language : 

HD66760 Datasheet, PDF (55/105 Pages) Hitachi Semiconductor – 104 X 80-dot Graphics LCD Controller/Driver for 256 Colors
HD66760
2. Write mode 2: AM = 1, LG2–0 = 000
This mode is used when the data is vertically written at high speed. It can also be used to initialize the
GRAM, develop the font pattern in the vertical direction, or draw borders. The swap function (SWP) and
write-data mask function (WM15–0) are also enabled in these operations. After writing, the address
counter (AC) automatically increments by 256, and automatically jumps to the upper-right edge (I/D = 1)
or upper-left edge (I/D = 0) following the I/D bit after it has reached the lower edge of the GRAM.
Operation Examples:
1) I/D = "1", AM = "1", LG2-0 = "000", SWP = "1"
2) WM15–0 = "00FF"H
3) AC = "000"H
WM15
WM0
Write-data mask: 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
DB15
DB0
Write data (1): 1 0 0 1 1 0 0 1 0 1 0 0 0 0 1 1
Write data (2): 1 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0
Write data (3): 0 1 1 1 0 1 0 0 0 0 0 1 1 1 1 1
Swap
Swap
Swap
0 100 00 1 110 0 110 0 1
00 00 1 100 11 00 00 1 1
00 0 11 11 101 1 10 100
"0000"H 0 1 0 0 0 0 1 1 * * * * * * * * Write data (1)
"0100"H 0 0 0 0 1 1 0 0 * * * * * * * * Write data (2)
"0200"H 0 0 0 1 1 1 1 1 * * * * * * * * Write data (3)
GRAM
Notes: 1. The bit area data in the GRAM indicated by '*' is not changed.
2. After writing to address 4F00H, the AC jumps to 0001H.
Figure 35 Writing Operation of Write Mode 2