Epson S1D13504 ユーザーズマニュアル

ページ / 504
Epson Research and Development
Page 41
Vancouver Design Center
Programming Notes and Examples
S1D13504
Issue Date: 01/02/01 
X19A-G-002-07
int seSetInit(int device)
Description:  Sets the system to an operational state by initializing memory size, clocks, panel and 
CRT parameters,... etc.
Parameter: 
device - registered device ID
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid
ERR_FAILED - unable to complete operation because registers have not been 
initialized
int seValidRegisteredDevice(int device)
Description:  Determines if the device handle is valid.
Parameter: 
device - registered device ID
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid
int seValidStdDevice(int device)
Description:  Determines if the device handle is HAL_STDOUT or HAL_STDIN.
Parameter: 
device - registered device ID
Return Value: ERR_OK - operation completed with no problems
ERR_HAL_DEVICE_ERR - could not find free device handle
8.2.2   Screen Manipulation
int seDisplayEnable(int device, BYTE NewState)
Description:  Performs the necessary power sequencing to enable or disable the display.
Parameter: 
device - registered device ID
NewState - use the predefined definitions ENABLE and DISABLE.
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid
ERR_FAILED - unable to complete operation because registers have not been 
initialized