sed1355 ETC-unknow, sed1355 Datasheet - Page 230

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 74
SED1355
X23A-G-003-05
}
/*
** Init the SED1355 with the defaults stored in the HAL_STRUCT
*/
if (seSetInit(DevId) != ERR_OK)
{
}
/*
** Determine the screen size
*/
if (seGetScreenSize(DevId, &width, &height) != ERR_OK)
{
}
/*
** Determine the Bpp mode, and set colors appropriately
** Note: if less than 15Bpp set the color Lookup Table (LUT)
** local color variables contain either index into LUT or RGB value
*/
seGetBitsPerPixel(DevId, &Bpp);
if (verbose)
switch(Bpp)
{
}
/*
** Draw a Blue line from top left hand corner to bottom right hand corner
printf("\r\nERROR: Unable to register device with HAL\r\n");
return -1;
printf("\r\nERROR: Unable to initialize the SED1355\r\n");
return -1;
printf("\r\nERROR: Unable to get screen size\r\n");
return -1;
printf("Bpp is %d\n", Bpp);
case 1: /* Can’t really do red and blue here */
/* Set the LUT to values appropriate to Black, Red, and Blue */
case 2:
case 4:
case 8:
default: /* 15 or 16 bpp */
seSetLut(DevId, (BYTE *)&RedBlueLut[0][0], 3);
color_red =
color_blue = 1;
break;
seSetLut(DevId, (BYTE *)&RedBlueLut[0][0], 3);
color_red
color_blue = 2;
break;
color_red
color_blue = BLUE16BPP;
break;
= 1;
= RED16BPP;
1;
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 99/04/27

Related parts for sed1355