How To Set Up Default Swivelview Mode - Epson S1D13704 Technical Manual

Embedded memory color lcd controller
Table of Contents

Advertisement

Page 80

12.1.1 How to Set Up Default SwivelView Mode

S1D13704
X26A-A-001-04
The following describes the register settings needed to set up Default SwivelView Mode
for a 240x320x4 bpp image:
• Select Default SwivelView Mode: REG[1Bh] bit 7 = 1 and bit 6 = 0
• The display refresh circuitry starts at pixel "B", therefore the Screen 1 Start Address
register must be programmed with the address of pixel "B", i.e.
[
] REG 0Ch
,
[
REG 0Dh
Where bpp is bits-per-pixel and bpb is bits-per-byte.
• The Line Byte Count Register for SwivelView Mode must be set to the virtual-image
width in bytes, i.e.
[
]
REG 1Ch
=
----------------------------------------- -
(
8bpb
Where bpb is bits-per-byte and bpp is bits-per-pixel.
• Panning is achieved by changing the Screen 1 Start Address register:
• Increment the register by 1 to pan horizontally by one byte, e.g. two pixels in 4 bpp
mode
• Increment the register by twice the value in the Line Byte Count register to pan verti-
cally by two lines, e.g. add 100h to pan by two lines in the example above.
Note
Vertical panning by a single line is not supported in Default SwivelView Mode.
]
=
AddressOfPixelB
(
=
AddressOfPixelA
+
ByteOffset
240pixels
=
AddressOfPixelA
+
--------------------------------------------
=
AddressOfPixelA
+
77h
256
256
=
-------- -
=
128
=
)
÷
(
)
4bpp
2
*
Epson Research and Development
Vancouver Design Center
)
×
4bpp
1
8bpb
80h
Hardware Functional Specification
Issue Date: 01/02/08

Advertisement

Table of Contents
loading

Table of Contents