Initialization - Epson S1D13706 Technical Manual

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center

10.2 Initialization

int seRegisterDevice(const LPHAL_STRUC lpHalInfo)
Description:
Parameters:
Return Value:
Note
Programming Notes and Examples
Issue Date: 01/02/23
Initialization functions are normally the first functions in the HAL library that an appli-
cation calls. These routines return information about the controller and prepare the HAL
library for use.
This function registers the S1D13706 device parameters with the HAL library. The device
parameters include such items as address range, register values, desired frame rate, etc.
These parameters 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.
lpHalInfo
ERR_OK
ERR_UNKNOWN_DEVICE The HAL was unable to locate the S1D13706.
ERR_FAILED
In addition, on Win32 platforms, the following two error values may be returned:
ERR_PCI_DRIVER_-
NOT_FOUND
ERR_PCI_BRIDGE_-
ADAPTER_NOT_FOUND
seRegisterDevice() MUST be called before any other HAL functions.
A pointer to a HAL_STRUCT structure. This structure
must be filled with appropriate values prior to calling
seRegisterDevice.
operation completed with no problems
The HAL was unable to map S1D13706 display memory
to the host platform.
The HAL was unable to locate file SED13XX.VXD
The driver file SED13XX.VXD was unable to locate the
PCI bridge adapter board attached to the evaluation board.
Page 65
S1D13706
X31B-G-003-03

Advertisement

Table of Contents
loading

Table of Contents