Epson Research and Development
Page 55
Vancouver Design Center
Programming Notes and Examples
S1D13704
Issue Date: 01/02/12
X26A-G-002-03
9.2.4 Register / Memory Access
The Register/Memory Access functions provide access to the S1D13704 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
-
registered
device
ID
Index
- register index to read
pValue
- 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
-
registered
device
ID
Index
- register index to set
Value
- 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
-
registered
device
ID
Offset
- offset, in bytes from start of the display buffer, to read from
pByte
- 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
*