English
Language : 

SED1374 Datasheet, PDF (154/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Page 58
Epson Research and Development
Vancouver Design Center
9.2.5 Power Save
This section covers the HAL functions dealing with the Power Save features of the
SED1374.
int seSetPowerSaveMode(int DevID, int PwrSaveMode)
Description: This function sets on the SED1374’s software selectable power save modes.
Parameters: DevID
- a registered device ID
PwrSaveMode - integer value specifying the desired power save mode.
Acceptable values for PwrSaveMode are:
0 - (software power save mode) in this mode registers and memory are
read/writable. LCD output is forced low.
3 - (normal operation) all outputs function normally.
Return Value: ERR_OK - operation completed with no problems
9.2.6 Drawing
The Drawing routines cover HAL functions that deal with displaying pixels, lines and
shapes.
int seDrawLine(int DevID, int x1, int y1, int x2, int y2, DWORD Color)
Description: This routine draws a line on the display from the endpoints defined by x1,y1 to the
endpoint x2,y2 in the requested 'Color'.
Currently seDrawLine() only draws horizontal and vertical lines.
Parameters:
Device
(x1, y1)
(x2, y2)
Color
- registered device ID.
- first endpoint of the line in pixels
- second endpoint of the line in pixels (see note below)
- color to draw with. 'Color' is an index into the LUT.
Return Value: ERR_OK - operation completed with no problems
SED1374
X26A-G-002-02
Programming Notes and Examples
Issue Date: 99/04/27