sed1374 ETC-unknow, sed1374 Datasheet - Page 138

no-image

sed1374

Manufacturer Part Number
sed1374
Description
Sed1374 Embedded Memory Color Lcd Controller
Manufacturer
ETC-unknow
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sed137460B5
Manufacturer:
HIROSE
Quantity:
49 000
Part Number:
sed1374F0A
Manufacturer:
EPSON
Quantity:
650
Part Number:
sed1374FOA
Manufacturer:
NICHIA
Quantity:
12 000
Part Number:
sed1374FOA
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Page 42
7.6 Examples
SED1374
X26A-G-002-02
Example 6: Enable default SwivelView mode for a 320x240 panel at 4 bpp.
Before switching to SwivelView mode from landscape mode, display memory should be
cleared to make the user perceived transition smoother. Images in display memory are not
rotated automatically by hardware and the garbled image would be visible for a short period
of time if video memory is not cleared.
In this example we will bypass having to recalculate the horizontal and vertical non-display
times (frame rate) by selecting the default SwivelView mode scheme.
1. Calculate and set the Screen 1 Start Word Address register.
2. Calculate the Line Byte Count
3. Enable SwivelView mode.
This example uses the default SwivelView mode scheme. If we do not change the
SwivelView Mode Pixel Clock Select bits then we will not have to recalculate the non-
display timings to correct the frame rate.
Write 80h to the SwivelView Mode Register (REG[1Bh]).
The display is now configured for SwivelView mode use. Offset zero into display memory
will corresponds to the upper left corner of the display. The only thing to keep in mind is
that the count from the first pixel of one line to the first pixel of the next line (refered to as
the "stride") is 128 bytes.
OffsetBytes = (Width x BitsPerPixel / 8) - 1 = (256 x 4 / 8) -1 = 127 = 007Fh
(“Width” is the width of the SwivelView mode display - in this case the next power of
two greater than 240 pixels or 256.)
Set Screen1 Display Start Word Address LSB (REG [0Ch]) to 7Fh and Screen1 Dis-
play Start Word Address MSB (REG[0Dh]) to 00h.
The Line Byte Count also must be based on the power of two width.
LineByteCount = Width x BitsPerPixel / 8 = 256 x 4 / 8 = 128 = 80h.
Set the Line Byte Count (REG[1C]) to 80h.
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 99/04/27

Related parts for sed1374