English
Language : 

SED1354 Datasheet, PDF (183/472 Pages) Epson Company – Color Graphics LCD/CRT Controller
Epson Research and Development
Vancouver Design Center
Page 43
int seGetScreenSize(int device, int *width, int *height)
Description: Determines the width and height of the active display device (LCD or CRT).
Parameter:
device - registered device ID
width - width of display in pixels
height - height of display in pixels
Return Value: ERR_OK - operation completed with no problems.
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seReadDisplayByte(int device, DWORD offset, BYTE *pByte)
Description: Reads a byte from the display buffer.
Parameter:
device - registered device ID
offset - offset (in bytes) from start of the display buffer
pByte - returns value of byte.
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seReadDisplayWord(int device, DWORD offset, WORD *pWord)
Description: Reads a word from the display buffer.
Parameter:
device - registered device ID
offset - offset (in bytes) from start of the display buffer
pWord - returns value of word.
Return Value: ERR_OK - operation completed with no problems.
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seReadDisplayDword(int device, DWORD offset, DWORD *pDword)
Description: Reads a dword from the display buffer.
Parameter:
device - registered device ID
offset - offset from start of the display buffer
pDword - returns value of dword.
Return Value: ERR_OK - operation completed with no problems.
ERR_INVALID_REG_DEVICE - device argument is not valid.
Programming Notes and Examples
Issue Date: 98/10/28
SED1354
X19A-G-002-06