User`s manual
8: HARDWARE ABSTRACTION LAYER (HAL)
2-34 EPSON S1D13504 PROGRAMMING NOTES
AND EXAMPLES (S19A-G-002-06)
int seSetDac(int device, BYTE *pDac)
Description: Writes the entire DAC from an array into the DAC registers.
Parameter: device - registered device ID
pDac - pointer to an array of BYTE dac[256][3]
dac[x][0] == RED component
dac[x][1] == GREEN component
dac[x][2] == BLUE component
Return Value: ERR_OK - operation completed with no problems.
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seSetDacEntry(int device, BYTE index, BYTE *pEntry)
Description: Writes one DAC entry.
Parameter: device - registered device ID
index - index to DAC entry (0 to 255)
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 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.
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.