Page 46
Epson Research and Development
Vancouver Design Center
S1D13706 Programming Notes and Examples
X31B-G-003-03 Issue Date: 01/02/23
These bits determine the Y end position of the sub-window in relation to the origin of the
panel. Due to the S1D13706 SwivelView feature, the Y end position may not be a vertical
position value (only true in 0° and 180° SwivelView). For further information on defining
the value of the Y End Position register, see Section 8.3, “Picture-In-Picture-Plus
Examples” on page 48.
The register is also incremented differently based on the SwivelView orientation. For 0°
and 180° SwivelView the Y end position is incremented in 1 line increments. For 90° and
270° SwivelView the Y end position is incremented by Y pixels where Y is relative to the
current color depth.
In SwivelView 0°
, these registers set the vertical coordinates (y) of the sub-windows’s
bottom right corner. Increasing values of y move the bottom right corner downwards in
steps of 1 line.
Program the Sub-Window Y End Position registers so that
sub-window Y end position registers = y - 1
In SwivelView 90°
, these registers set the horizontal coordinates (x) of the sub-window’s
bottom left corner. Increasing values of x move the top right corner towards the right in
steps of 32
÷
bits-per-pixel (see Table 8-4: )
Program the Sub-Window Y End Position registers so that
sub-window Y end position registers = (panel height - x)
÷
(32
÷
bits-per-pixel) - 1
Note
panel height - x must be a multiple of 32
÷
bits-per-pixel.
In SwivelView 180°
, these registers set the vertical coordinates (y) of the sub-window’s
top left corner. Increasing values of y move the top left corner downwards in steps of 1 line.
REG[90h] Sub-Window Y End Position Register 0
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
REG[91h] Sub-Window Y End Position Register 1
n/a n/a n/a n/a n/a n/a Bit 9 Bit 8
Table 8-4: 32-bit Address Increments for Color Depth
Bits-Per-Pixel (Color Depth) Pixel Increment (Y)
1 bpp 32
2 bpp 16
4 bpp 8
8 bpp 4
16 bpp 2