English
Language : 

SED1374 Datasheet, PDF (151/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Epson Research and Development
Vancouver Design Center
Page 55
9.2.4 Register / Memory Access
The Register/Memory Access functions provide access to the SED1374 registers and
display buffer through the HAL.
int seGetReg(int DevID, int Index, BYTE * pValue)
Description: Reads the value in the register specified by index.
Parameters: DevID
Index
pValue
- registered device ID
- register index to read
- pointer to a BYTE to receive the register value.
Return Value: ERR_OK - operation completed with no problems
int seSetReg(int DevID, int Index, BYTE Value)
Description: Writes value specified in Value to the register specified by Index.
Parameters: DevID
Index
Value
- registered device ID
- register index to set
- value to write to the register
Return Value: ERR_OK - operation completed with no problems
int seReadDisplayByte(int DevID, DWORD Offset, BYTE *pByte)
Description: Reads a byte from the display buffer at the specified offset and returns the value in
pByte.
Parameters: DevID
Offset
pByte
- registered device ID
- offset, in bytes from start of the display buffer, to read from
- pointer to a BYTE 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 40 kb
Programming Notes and Examples
Issue Date: 99/04/27
SED1374
X26A-G-002-02