Page 40
Epson Research and Development
Vancouver Design Center
S1D13706 Programming Notes and Examples
X31B-G-003-03 Issue Date: 01/02/23
In SwivelView 180°, program the start address
= ((desired byte address + (sub-window width
×
sub-window height
×
bpp
÷
8))
÷
4) - 1
In SwivelView 270°, program the start address
= (desired byte address + ((sub-window height - 1)
×
sub-window width
×
bpp
÷
8))
÷
4
Note
SwivelView 0° and 180° require the panel width to be a multiple of 32
÷
bpp. Swivel-
View 90° and 270° require the panel height to be a multiple of 32
÷
bpp. If this is not
possible, a virtual display (one larger than the physical panel size) is required which
does satisfy the above requirements. To create a virtual display, program the sub-win-
dow line address offset to values which are greater than that required for the given dis-
play width.
These registers indicate the number of dwords per line in the sub-window image.
number of dwords per line = image width
÷
(32
÷
bpp)
Note
The image width must be a multiple of 32
÷
bpp.
REG[80h] Sub-Window Line Address Offset Register 0
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
REG[81h] Sub-Window Line Address Offset Register 1
n/a n/a n/a n/a n/a n/a Bit 9 Bit 8