
Epson Research and Development
Page 57
Vancouver Design Center
Programming Notes and Examples
S1D13706
Issue Date: 01/02/23
X31B-G-003-03
8.3.4 SwivelView 270°
Figure 8-5: Picture-in-Picture Plus with SwivelView 270° enabled
SwivelView 270
°
is a mode in which both the main and sub-windows are rotated 270
°
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 270
°
, these registers
switch their functionality as described in Section 8.2, “Registers” .
Example 8: In SwivelView 270
°
, program the main window and sub-window regis-
ters for a 320x240 panel at 4 bpp, with the sub-window positioned at
SwivelView 270
°
coordinates (60, 80) with a width of 120 and a height of
160.
1. Confirm the main window coordinates are valid.
The vertical coordinates must be a multiple of 32
÷
bpp.
240
÷
(32
÷
4) = 30
Main window coordinates are 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
270° SwivelView
TM
(REG[8Dh],REG[8Ch])
(REG[91h],REG[90h])
(REG[89h],REG[88h])
(REG[85h],REG[84h])