Page 108
Epson Research and Development
Vancouver Design Center
int seInitReg(unsigned DisplayMode, unsigned Flags)
Description:
This function initializes the S1D13506 registers, the LUT, assigns default surfaces and
allocates memory accordingly.
Parameters:
DisplayMode
Set this parameter according to the type of initialization desired.
Valid values for DisplayMode are:
0
Use the values configured by 13506CFG.EXE
Initialize for use with an LCD panel.
Initialize for use with a monitor.
LCD
CRT
TV
Initialize for use with a TV
LCD | CRT
LCD | TV
Initialize for both LCD panel and monitor.
Initialize for both LCD panel and TV.
Flags
Provides additional information about how to perform the initialization.
Valid values for Flags are:
CLEAR_MEMZero display memory as part of the initialization
DISP_BLANKBlank the display, for aesthetics, during initialization.
Return Value:
ERR_OK
The initialization completed with no problems.
ERR_FAILED seInitReg failed to initialize the system correctly.
void seGetHalVersion(const char ** pVersion, const char ** pStatus, const char
**pStatusRevision)
Description:
Retrieves the HAL library version information. By retrieving and displaying the HAL ver-
sion information along with application version information it is possible to determine at a
glance whether the latest version of the software is being run.
Parameters:
pVersion
pStatus
A pointer to the array to receive the HAL version code.
A pointer to the array to receive the HAL status code
A “B” designates a beta version of the HAL, a NULL indicates the
release version
pStatusRevision A pointer to the array to receive the HAL revision status.
Return Value:
The version information is returned as the contents of the pointer arguments. A typical
return might be:
*pVersion == “1.01” (HAL version 1.01)
*pStatus == “B” (BETA release)
*pStatusRevision == “5” (fifth update of the beta)
S1D13506
X25B-G-003-03
Programming Notes and Examples
Issue Date: 01/02/06