sed1355 ETC-unknow, sed1355 Datasheet - Page 236

no-image

sed1355

Manufacturer Part Number
sed1355
Description
Sed1355 Embedded Ramdac Lcd/crt Controller
Manufacturer
ETC-unknow
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sed1355F0A
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
sed1355FOA
Manufacturer:
EPSON
Quantity:
996
Part Number:
sed1355FOA
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Page 80
12.1.2 Sample code without using the SED1355 HAL API
/*
**===========================================================================
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**---------------------------------------------------------------------------
**
**
**===========================================================================
*/
/*
** Note that only the upper four bits of the LUT are actually used.
*/
unsigned char LUT8[256*3] =
{
/* Primary and secondary colors */
0x00, 0x00, 0x00,
0xA0, 0x00, 0x00,
0x50, 0x50, 0x50,
0xF0, 0x00, 0x00,
/* Gray shades */
0x00, 0x00, 0x00,
0x40, 0x40, 0x40,
0x80, 0x80, 0x80,
0xC0, 0xC0, 0xC0,
SED1355
X23A-G-003-05
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
3) The pointer assignment for the register offset does not work on
Copyright (c) 1998 Epson Research and Development, Inc.
All Rights Reserved.
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.
x86 16 bit platforms.
changes to use a DOS extender to access memory and registers.
Beta release 2.0
0x00, 0x00, 0xA0,
0xA0, 0x00, 0xA0,
0x00, 0x00, 0xF0,
0xF0, 0x00, 0xF0,
0x10, 0x10, 0x10,
0x50, 0x50, 0x50,
0x90, 0x90, 0x90,
0xD0, 0xD0, 0xD0,
*** This is sample code only! ***
98-10-29
0x00, 0xA0, 0x00,
0xA0, 0xA0, 0x00,
0x00, 0xF0, 0x00,
0xF0, 0xF0, 0x00,
0x20, 0x20, 0x20,
0x60, 0x60, 0x60,
0xA0, 0xA0, 0xA0,
0xE0, 0xE0, 0xE0,
0x00, 0xA0, 0xA0,
0xA0, 0xA0, 0xA0,
0x00, 0xF0, 0xF0,
0xF0, 0xF0, 0xF0,
0x30, 0x30, 0x30,
0x70, 0x70, 0x70,
0xB0, 0xB0, 0xB0,
0xF0, 0xF0, 0xF0,
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 99/04/27

Related parts for sed1355