Epson S1D13706 Technical Manual page 210

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

Advertisement

Page 50
S1D13706
X31B-G-003-03
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 top left and
bottom right corners. Program the X Start Position registers = x1 ÷ (32 ÷ bpp). Pro-
gram the X End Position registers = x2 ÷ (32 ÷ bpp) - 1.
The Y position registers, in landscape mode, set the vertical coordinates of the sub-
window's top left and bottom right corners. Program the Y Start Position registers =
y1. Program the Y End Position registers = y2 - 1.
X Start Position registers
Y Start Position registers
X End Position registers
Y End Position registers
Program the Sub-window X Start Position register. REG[84h] is set to 0Ah, and
REG[85h] is set to 00h.
Program the Sub-window Y Start Position register. REG[88h] is set to 3Ch, and
REG[89h] is set to 00h.
Program the Sub-window X End Position register. REG[8Ch] is set to 1Dh, and
REG[8Dh] is set to 00h.
Program the Sub-window Y End Position register. 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
= 80 ÷ (32 ÷ 4)
= 10
= 0Ah
= 60
= 3Ch
= (80 + 160) ÷ (32 ÷ 4) - 1
= 29
= 1Dh
= 60 + 120 - 1
= 179
= B3h
Programming Notes and Examples
Issue Date: 01/02/23

Advertisement

Table of Contents
loading

Table of Contents