Epson SED1352 Technical Manual page 107

Graphics lcd controller
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
Note
A
Line Byte Count
B
Single Panel
Total Display Line Count
C
Dual Panel
Example 2:
Initialize the registers for a 4 gray shade 640x480 dual panel LCD with 128k of display
memory. Afterwards write one pixel to the top left corner of the display.
Program SED1352 Registers 00h-0Dh:
AUX
Data
Register
(in Binary)
AUX[00h] 0000 0000 •
AUX[01h] 1100 1000
AUX[02h] 0100 1111
AUX[03h] 0000 0110
AUX[04h] 1110 1111
AUX[05h] 0000 0000
Programming Notes and Examples
Issue Date: 98/10/08
Panel Width in Pixels
=
------------------------------------------------------------------------------------------- -
Memory Interface Width (8 or 16 bits)
 1
320
×
-------- -
=
4
=
79
16
=
number of display lines 1
Total Display Line Count
must be zero
b7 = display on (normal)
b6 = dual panel (panel specific)
b5 = XSCL not masked (panel specific)
b4 = LCDE LCDENB pin = 0 (implementation specific; the
recommended procedure is to turn this bit off during register
initialization and afterwards turn this bit on)
b3 = 16 grays (application specific)
b2 = 4 bit LCD data width (panel specific)
b1 = 16 bit Memory Interface (implementation specific)
b0 = RAMS ignored (implementation specific)
bits 7-0 = bits 7-0 of Line Byte Count (panel specific)
bit 8 of Line Byte Count in bit 0 of AUX[03h] (panel specific)
bits 7-6 = Power Save Mode 0 (application specific)
bit 5 = LCD interface signals forced to 0 during Power Save
(implementation specific)
bit 4 = no LUT bypass (application specific)
bits 3-1 = not used
bit 0 = bit 8 of Line Byte Count (panel specific, see AUX[02h])
bits 7-0 = bits 7-0 of Total Display Line Count (panel specific)
bits 9-8 of Total Display Line Count in bits 1-0 of AUX[05h]
(panel specific)
bits 7-2 = WF not required (panel specific)
bits 1-0 = bits 9-8 of Total Display Line Count (panel specific,
see AUX[04h])
×
[
bits per pixel (2 or 4 bits)
=
4Fh
=
240 1
number of display lines
=
------------------------------------------------------- - 1
2
Notes
 1
]
=
239
=
0EFh
See Also
see Note A at end of
Table for calculation
see Section 5.6, "Power
Saving" on page 44
see Note B and C at end
of Table for calculation
X16-BG-007-04
Page 11
SED1352

Advertisement

Table of Contents
loading

Table of Contents