Epson S1D13706 Technical Manual page 216

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Page 56
S1D13706
X31B-G-003-03
6. Determine the sub-window line address offset.
number of dwords per line
Program the Sub-window Line Address Offset registers. REG[80h] is set to 14h, and
REG[81h] is set to 00h.
7. Determine the value for the sub-window X and Y start and end position registers.
Let the top left corner of the sub-window be (x1, y1), and let x2 = x1 + width, y2 = y1
+ height.
The X position registers set the horizontal coordinates of the sub-window bottom right
and top left corner. Program the X Start Position registers = (panel width - x2) ÷ (32 ÷
bpp). Program the X End Position registers = (panel width - x1) ÷ (32 ÷ bpp) - 1.
The Y position registers set the horizontal coordinates of the sub-window bottom right
and top left corner. Program the Y Start Position registers = panel height - y2. Pro-
gram the Y End Position registers = panel height - y1 - 1.
X start position registers
Y start position registers
X end position registers
Y end position registers
Program the Sub-window X Start Position registers. REG[84h] is set to 0Ah, and
REG[85h] is set to 00h.
Program the Sub-window Y Start Position registers. REG[88h] is set to 3Ch, and
REG[89h] is set to 00h.
Program the Sub-window X End Position registers. REG[8Ch] is set to 1Dh, and
REG[8Dh] is set to 00h.
Program the Sub-window Y End Position registers. REG[90h] is set to B3h, and
REG[91h] is set to 00h.
8. Enable the sub-window.
Program the Sub-window Enable bit. REG[71h] bit 4 is set to 1.
Epson Research and Development
Vancouver Design Center
= image width ÷ (32 ÷ bpp)
= 160 ÷ (32 ÷ 4)
= 20
= 14h
= (320 - (80 + 160)) ÷ (32 ÷ 4)
= 10
= 0Ah
= 240 - (60 + 120)
= 60
= 3Ch
= (320 - 80) ÷ (32 ÷ 4) - 1
= 29
= 1Dh
= 240 - 60 - 1
= 179
= B3h
Programming Notes and Examples
Issue Date: 01/02/23

Advertisement

Table of Contents
loading

Table of Contents