Epson S1D13705 Computer Monitor User Manual


 
Epson Research and Development Page 51
Vancouver Design Center
Programming Notes and Examples S1D13705
Issue Date: 02/01/22 X27A-G-002-03
9.4.1 Initialization
The following section describes the HAL functions dealing with S1D13705 initialization.
Typically a programmer has only to concern themselves with calls to seRegisterDevice()
and seSetInit().
int seRegisterDevice(const LPHAL_STRUC lpHalInfo)
Description: This function registers the S1D13705 device parameters with the HAL library. The
device parameters include address range, register values, desired frame rate, etc.,
and are stored in the HAL_STRUCT structure pointed to by lpHalInfo. Additionally
this routine allocates system memory as address space for accessing registers and the
display buffer.
Parameters: lpHalInfo - pointer to HAL_STRUCT information structure
Return Value: ERR_OK - operation completed with no problems
ERR_UNKNOWN_DEVICE - the HAL was unable to find an S1D13705.
Note
seRegisterDevice() MUST be called before any other HAL functions.
No S1D13705 registers are changed by calling seRegisterDevice().
seSetInit()
Description: Configures the S1D13705 for operation. This function sets all the S1D13705 control
registers to their default values.
Initialization of the S1D13705 is a two step process to accommodate those programs
(e.g. 13705PLAY.EXE) which do not initialize the S1D13705 on start-up.
Parameters: None
Return Value: ERR_OK - operation completed with no problems
Note
After this call the Look-Up Table will be set to a default state appropriate to the display
type.
Unlike S1D1350x HAL versions, this function does not call seSetDisplayMode as this
function does not exist in the 13705 HAL.