
Page 54
Epson Research and Development
Vancouver Design Center
S1D13706
Programming Notes and Examples
X31B-G-003-03
Issue Date: 01/02/23
8.3.3 SwivelView 180°
Figure 8-4: Picture-in-Picture Plus with SwivelView 180° enabled
SwivelView 180
°
is a mode in which both the main and sub-windows are rotated 180
°
counter-clockwise when shown on the panel. The images for each window are typically
placed consecutively, with the main window image starting at address 0 and followed by
the sub-window image. In addition, both images must start at addresses which are dword-
aligned (the last two bits of the starting address must be 0).
Note
It is possible to use the same image for both the main window and sub-window. To do
so, set the sub-window line address offset registers to the same value as the main win-
dow line address offset registers.
Note
The Sub-Window X Start Position registers, Sub-Window Y Start Position registers,
Sub-Window X End Position registers, and Sub-Window Y End Position registers are
named according to the SwivelView 0
°
orientation. In SwivelView 180
°
, these registers
switch their functionality as described in Section 8.2, “Registers” .
Example 7: In SwivelView 180
°
, program the main window and sub-window regis-
ters for a 320x240 panel at 4 bpp, with the sub-window positioned at
SwivelView 180
°
coordinates (80, 60) with a width of 160 and a height of
120.
1. Confirm the main window coordinates are valid.
The horizontal coordinates must be a multiple of 32
÷
bpp.
320
÷
(32
÷
4) = 40
Main window horizontal coordinate is valid.
sub-window
main-window
sub-window y start position
panel’s origin
sub-window y end position
sub-window x start position
sub-window x end position
180° SwivelView
TM
(REG[8Dh],REG[8Ch])
(REG[85h],REG[84h])
(REG[91h],REG[90h])
(REG[89h],REG[88h])