English
Language : 

HD66760 Datasheet, PDF (26/105 Pages) Hitachi Semiconductor – 104 X 80-dot Graphics LCD Controller/Driver for 256 Colors
HD66760
Entry Mode (R05h)
Compare Register (R06h)
The write data sent from the microcomputer is modified in the HD66760 and written to the GRAM. The
display data in the GRAM can be quickly rewritten to reduce the load of the microcomputer software
processing. For details, see the Graphics Operation Function section.
SWP: When SWP = 1, the upper and lower bytes in the two-byte data sent from the microcomputer are
swapped and written to the GRAM. When SWP = 0, this bit directly writes the two-byte data sent from the
microcomputer to the GRAM. This swap processing is performed only for the data sent from the
microcomputer before logical operation. When SWP = 1, the upper and lower bytes in the write data mask
(WM15-0) are swapped to be executed with the write data.
I/D: When I/D = 1, the address counter (AC) is automatically incremented by 1 after the data is written to the
GRAM. When I/D = 0, the AC is automatically decremented by 1 after the data is written to the GRAM.
AM: Set the automatic update method of the AC after the data is written to the GRAM. When AM = 0, the
data is continuously written in parallel. When AM = 1, the data is continuously written vertically.
LG2-0: Compare the data read from the GRAM by the microcomputer with the compare registers (CP7-0) by
a compare/logical operation and write the results to GRAM. For details, see the Logical/Compare Operation
Function.
CP7-0: Set the compare register for the compare operation with the data read from the GRAM or written by
the microcomputer.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W 1 0 0 0 0 0 0 0 SWP 0 0 0 I/D AM LG2 LG1 LG0
W 1 0 0 0 0 0 0 0 0 CP7 CP6 CP5 CP4 CP3 CP2 CP1 CP0
Figure 9 Entry Mode and Compare Register