English
Language : 

SED1374 Datasheet, PDF (152/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Page 56
Epson Research and Development
Vancouver Design Center
int seReadDisplayWord(int DevID, DWORD Offset, WORD *pWord)
Description: Reads a word from the display buffer at the specified offset and returns the value in
pWord.
Parameters: DevID
Offset
pWord
- registered device ID
- offset, in bytes from start of the display buffer, to read from
- pointer to a WORD to return the value in
Return Value: ERR_OK - operation completed with no problems.
ERR_HAL_BAD_ARG - if the value for Addr is greater than 40 kb.
int seReadDisplayDword(int DevID, DWORD Offset, DWORD *pDword)
Description: Reads a dword from the display buffer at the specified offset and returns the value
in pDword.
Parameters: DevID
Offset
pDword
- registered device ID
- offset from start of the display buffer to read from
- pointer to a DWORD to return the value in
Return Value: ERR_OK - operation completed with no problems.
ERR_HAL_BAD_ARG - if the value for Addr is greater than 40 kb.
int seWriteDisplayBytes(int DevID, DWORD Offset, BYTE Value,
DWORD Count)
Description: This routine writes one or more bytes to display buffer at the offset specified by
Addr. If a count greater than one is specified all bytes will have the same value.
Parameters:
DevID
Offset
Value
Count
- registered device ID
- offset from start of the display buffer to start writing at
- BYTE value to write
- number of bytes to write
Return Value: ERR_OK - operation completed with no problems
ERR_HAL_BAD_ARG - if the value for Addr or the value of Addr plus Count is
greater than 40 kb.
SED1374
X26A-G-002-02
Programming Notes and Examples
Issue Date: 99/04/27