Page 58 Epson Research and Development
Vancouver Design Center
S1D13705 Programming Notes and Examples
X27A-G-002-03 Issue Date: 02/01/22
9.4.4 Register / Memory Access
The Register/Memory Access functions provide access to the S1D13705 registers and
display buffer through the HAL.
int seGetReg(int Index, BYTE * pValue)
Description: Reads the value in the register specified by index.
Parameters: 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 Index, BYTE Value)
Description: Writes value specified in Value to the register specified by Index.
Parameters: Index - register index to set
Value - value to write to the register
Return Value: ERR_OK - operation completed with no problems
int seReadDisplayByte(DWORD Offset, BYTE *pByte)
Description: Reads a byte from the display buffer at the specified offset and returns the value in
pByte.
Parameters: 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 80 kb
int seReadDisplayWord(DWORD Offset, WORD *pWord)
Description: Reads a word from the display buffer at the specified offset and returns the value in
pWord.
Parameters: Offset - offset, in bytes from start of the display buffer, to read from
pWord - 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 80 kb.