English
Language : 

SED1374 Datasheet, PDF (145/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Epson Research and Development
Vancouver Design Center
Page 49
9.2.2 Miscellaneous HAL Support
Functions in this group do not fit into any specific category of support. They provide a
miscellaneous range of support for working with the SED1374
int seGetId(int DevID, int * pId)
Description: Reads the SED1374 revision code register to determine the chip product and
revisions. The interpreted value is returned in pID.
Parameters: DevID
pId
- registered device ID
- pointer to an integer which will receive the controller ID.
SED1374 values returned in pID are:
- ID_SED1374
- ID_SED1374F0A
- ID_UNKNOWN
Other HAL libraries will return their respective controller IDs upon detection of
their controller.
Return Value: ERR_OK - operation completed with no problems
ERR_UNKNOWN_DEVICE - the HAL was unable to identify the display
controller. Returned when pID returns ID_UNKNOWN.
void seGetHalVersion(const char ** pVersion, const char ** pStatus,
const char **pStatusRevision)
Description:
Retrieves the HAL library version information. The return values are ASCII strings.
A typical return would be: “1.01 B 5” - HAL version 1.01, 'B' is the beta designator,
this example would be Beta 5. If pStatus is NULL then pStatusRevision should be
NULL too.
Parameters:
pVersion - Pointer to string to return the version in.
- must point to an allocated string of size VER_SIZE
pStatus - Pointer to a string to return the release status in.
- must point to an allocated string of size STATUS_SIZE
pStatusRevision - Pointer to return the current revision of status.
- must point to an allocated string of size STAT_REV_SIZE
Return Value: None
Programming Notes and Examples
Issue Date: 99/04/27
SED1374
X26A-G-002-02