S1D13505 Epson Electronics America, Inc., S1D13505 Datasheet - Page 203

no-image

S1D13505

Manufacturer Part Number
S1D13505
Description
LCD Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D13505F00A
Manufacturer:
EPSON
Quantity:
254
Part Number:
S1D13505F00A100
Manufacturer:
EPSON
Quantity:
8 000
Part Number:
S1D13505F00A2
Manufacturer:
EPSON
Quantity:
5
Part Number:
S1D13505F00A2
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
S1D13505F00A200
Manufacturer:
EPSON
Quantity:
1 400
Part Number:
S1D13505F00A200
Manufacturer:
Epson Electronics America Inc-Semiconductor Div
Quantity:
10 000
Part Number:
S1D13505F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Epson Research and Development
Vancouver Design Center
8.5 Examples
Programming Notes and Examples
Issue Date: 01/02/05
Note
Example 7: Enable SwivelView for a 640x480 display at a color depth of 8 bpp.
Before enabling SwivelView, the display buffer should be cleared to make the transition
smoother. Currently displayed images cannot simply be rotated by hardware.
Example 8: Pan the above SwivelView image to the right by 3 pixels then scroll it up
1. Set the line offset to 1024 pixels. The Line Offset register is the offset in words.
2. Set the Display 1 Start Address. The Display Start Address registers form a pointer to
3. Enable SwivelView by setting bit 7 of register [0Dh].
4. The display is now configured for SwivelView. Offset zero into display memory will
1. With SwivelView enabled, the x and y control is rotated as well. Simply swap the x
2. Calculate the new start address and pixel pan values.
3. Write the start address during the display enabled portion of the frame.
Drawing into the Hardware Cursor/Ink Layer with SwivelView enabled does not work
without some form of address manipulation. The easiest way to ensure correct cur-
sor/ink images is to disable SwivelView, draw in the cursor/ink memory, then re-enable
SwivelView. While writing the cursor/ink memory each pixel must be transformed to its
rotated position.
Write 200h to registers [17h]:[16h]. That is write 02h to register [17h] and 00h to reg-
ister [16h].
a word, therefore the value to set the start.
Write C0h (192 or (1024 - 480)/2) to registers [10h], [11h] and [12h]. That is write
Ch) to register [10h], 00h to register [11h] and 00h to register [12h].
correspond to the upper left corner of the display. The only difference seen by the pro-
grammer will be in acknowledging that the display offset is now 1024 pixels regard-
less of the physical dimensions of the display surface.
and y co-ordinates and calculate as if the display were not rotated.
BytesPerScanline = 1024
PixelPan = newX & 01h;
StartAddr = (newY * BytesPerScanline / 2) + (newX & FFFEh) >> 1;
a) loop waiting for vertical non-display (b7 of register [0Ah] high).
do register = ReadRegister(0Ah)
while (80h != (register & 80h));
by 4 pixels.
X23A-G-003-07
S1D13505
Page 49

Related parts for S1D13505