Epson S1D13706 Technical Manual page 213

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

Advertisement

Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/23
Program the Sub-window Line Address Offset register. REG[80h] is set to 0Fh, 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 vertical coordinates of the sub-window top right and
bottom left corner. Program the X Start Position registers = y1. Program the X End
Position registers = y2 - 1.
The Y position registers set the horizontal coordinates of the sub-window top right
and bottom left corner. Program the Y Start Position registers = (panel height - x2) ÷
(32 ÷ bpp). Program the Y End Position registers = (panel height - x1) ÷ (32 ÷ bpp) -
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 50h, and
REG[85h] is set to 00h.
Program the Sub-window Y Start Position register. REG[88h] is set to 07h, and
REG[89h] is set to 00h.
Program the Sub-window X End Position register. REG[8Ch] is set to EFh, and
REG[8Dh] is set to 00h.
Program the Sub-window Y End Position register. REG[90h] is set to 15h, 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.
=120 ÷ (32 ÷ 4)
= 15
= 0Fh
= 80
= 50h
= (240 - (64 + 120)) ÷ (32 ÷ 4)
= 07h
= (80 + 160) - 1
= 239
= EFh
= (240 - 64) ÷ (32 ÷ 4) - 1
= 21
= 15h
Page 53
S1D13706
X31B-G-003-03

Advertisement

Table of Contents
loading

Table of Contents