Epson S1D13708 用户手册

下载
页码 574
Epson Research and Development
Page 71
Vancouver Design Center
Programming Notes and Examples
S1D13708
Issue Date: 01/11/20 
X39A-G-003-01
ADVANCE
D
 IN
FOR
MAT
ION
Subje
ct to C
ha
nge
int halGetLastError(char * ErrMsg, int MaxSize)
Description: This routine retrieves the last error detected by the HAL.
Parameters: ErrMsg When halGetLastError() returns, ErrMsg will point to the textual 
error message. If ErrMsg is NULL then only the error code will be 
returned.
MaxSize Maximum number of bytes, including the final '\0', that can be 
placed in the string pointed to by ErrMsg.
Return Value:The numerical value of the internal error number.
HALEXTERN void halInitLUT(void)
Description: To standardize the appearance of test and validation programs, it was 
decided the HAL would have the ability to set the lookup table to uniform 
values.
The routine cracks the color depth and display type to determine which LUT 
values to use and proceeds to write the LUT entries.
Parameters: None
Return Value: Nothing.