English
Language : 

SED1374 Datasheet, PDF (149/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Epson Research and Development
Vancouver Design Center
Page 53
int seSplitInit(int DevID, WORD Scrn1Addr, WORD Scrn2Addr)
Description:
This function prepares the system for split screen operation. In order for split screen
to function the starting address in display buffer for the upper portion(screen 1) and
the lower portion (screen 2) must be specified. Screen 1 is always displayed above
screen 2 on the display regardless of the location of their start addresses.
Parameters: DevID
- registered device ID
Scrn1Addr - offset, in bytes, to the start of screen 1
Scrn2Addr - offset, in bytes, to the start of screen 2
Return Value: ERR_OK - operation completed with no problems
Note
It is assumed that the system has been properly initialized prior to calling seSplitInit().
int seSplitScreen(int DevID, int Screen, int VisibleScanlines)
Description: Changes the relevant registers to adjust the split screen according to the number of
visible lines requested. 'WhichScreen' determines which screen, 1 or 2, to base the
changes on.
The smallest surface screen 1 can display is one line. This is due to the way the
SED1374 operates. Setting Screen 1 Vertical Size to zero results in one line of
screen 1 being displayed. The remainder of the display will be screen 2 image.
Parameters: DevID
- registered device ID
Screen
- must be set to 1 or 2 (or use the constants SCREEN1 or SCREEN2)
VisibleScanlines- number of lines to display for the selected screen
Return Value: ERR_OK - operation completed with no problems
ERR_HAL_BAD_ARG- argument VisibleScanlines is negative or is greater than
vertical panel size or WhichScreen is not SCREEN1 or SCREEN 2.
Note
seSplitInit() must be called before calling seSplitScreen()
Programming Notes and Examples
Issue Date: 99/04/27
SED1374
X26A-G-002-02