English
Language : 

SED1354 Datasheet, PDF (189/472 Pages) Epson Company – Color Graphics LCD/CRT Controller
Epson Research and Development
Vancouver Design Center
int seSetLut(int device, BYTE *pLut)
Description: Writes the entire LUT from an array into the LUT registers.
Parameter:
device - registered device ID
pLut - pointer to an array of BYTE lut[16][3]
lut[x][0] == RED component
lut[x][1] == GREEN component
lut[x][2] == BLUE component
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
Page 49
int seSetLutEntry(int device, BYTE index, BYTE *pEntry)
Description: Writes one LUT entry.
Parameter:
device - registered device ID
index - index to LUT entry (0 to 15)
pEntry - pointer to an array of BYTE entry[3]
entry[x][0] == RED component
entry[x][1] == GREEN component
entry[x][2] == BLUE component
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seGet15BppInfo(int device, unsigned *RedMask, unsigned
*GreenMask, unsigned *BlueMask)
Description: Determines the bit fields for the red, green, and blue components of a 15 bpp stored
in a WORD.
Parameter:
device - registered device ID
RedMask - all bits set to 1 are used by the red component.
GreenMask - all bits set to 1 are used by the green component.
BlueMask - all bits set to 1 are used by the blue component.
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
Programming Notes and Examples
Issue Date: 98/10/28
SED1354
X19A-G-002-06