Register Manipulation; Miscellaneous - Epson S1D13504 Technical Manual

Color graphics lcd/crt controller
Hide thumbs Also See for S1D13504:
Table of Contents

Advertisement

Page 52

8.2.5 Register Manipulation

8.2.6 Miscellaneous

S1D13504
X19A-G-002-07
int seSetPixel(int device, int x, int y, DWORD color)
Description:
Writes a pixel to the display buffer.
Parameter:
device - Registered device ID
x - horizontal coordinate of the pixel (starting from 0)
y - vertical coordinate of the pixel (starting from 0)
color - for 1,2,4,8 BPP: refers to index into LUT/DAC. For 15,16 BPP: defines color
directly (not LUT/DAC index)
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seGetReg(int device, int index, BYTE *pVal)
Description:
Reads a register value.
Parameter:
device - registered device ID
index - register index
pVal - returns value of the register
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seSetReg(int device, int index, BYTE val)
Description:
Writes a register value.
Parameter:
device - registered device ID
index - register index
val - value to write to the register
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seDelay(int device, DWORD Seconds)
Description:
Delays for the given amount of time. For non-Intel platforms, the 13504 registers
must be initialized and the VNDP set active (the VNDP is used as the timer).
Parameter:
device - registered device ID
Seconds - delay time in seconds
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
ERR_FAILED - registers have not been initialized (for non-Intel platforms).
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/01

Advertisement

Table of Contents
loading

Table of Contents