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

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
Page 86
}
12.1.2 Sample code without using the S1D13505 HAL API
/*
**===========================================================================
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
S1D13505
X23A-G-003-07
INIT1355.C - sample code demonstrating the initialization of the SED1355.
The code in this example will perform initialization to the following
specification:
- 640 x 480 dual 16-bit color passive panel.
- 75 Hz frame rate.
- 8 BPP (256 colors).
- 33 MHz input clock.
- 2 MB of 60 ns EDO memory.
This means:
1) Generic C is used. I assume that pointers can access the
2) Register setup is done with discrete writes rather than being
relevant memory addresses (this is not always the case).
i.e. using the 1355B0B card on an x86 16 bit platform will require
table driven. This allows for clearer commenting. A real program
would probably store the register settings in an array and loop
through the array writing each element to a control register.
changes to use a DOS extender to access memory and registers.
** The background must be set to transparent.
*/
seInitCursor(Device);
seDrawCursorRect(Device, 0, 0, 63, 63, 2, TRUE);
/*
** Set the first user definable color to black and
** the second user definable color to white.
*/
seSetCursorColor(Device, 0, 0);
seSetCursorColor(Device, 1, 0xFFFFFFFF);
/*
** Draw a hollow rectangle around the cursor and move
** the cursor to 101,101.
*/
seDrawCursorRect(Device, 0, 0, 63, 63, 1, FALSE);
seMoveCursor(Device, 101, 101);
exit(0);
Beta release 2.0
*** This is sample code only! ***
98-10-29
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 01/02/05

Related parts for S1D13505