Epson S1D13706 Technical Manual page 232

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Page 72
int seSetSwivelViewMode(int rotate)
Description:
IMPORTANT
Parameters:
Return Value:
int seGetSwivelViewMode(void)
Description:
Parameters:
Return Value:
int seCheckSwivelViewClocks(unsigned BitsPerPixel, unsigned Rotate)
Description:
Parameters:
Return Value:
S1D13706
X31B-G-003-03
This function sets the SwivelView orientation of the LCD display. Display memory is
automatically released and then reallocated as necessary for the display size.
When the SwivelView mode is changed, memory allocated for both the main window and
sub-window display buffer is freed and the display buffer memory is reassigned. The
application must redraw the display and re-initialize the sub-window (if used) and redraw
after calling seSetSwivelViewMode().
rotate
The values for rotate are:
LANDSCAPE: display not rotated
ROTATE90: display rotated 90 degrees counterclockwise
ROTATE180: display rotated 180 degrees counterclockwise
ROTATE270: display rotated 270 degrees counterclockwise
ERR_OK
ERR_NOT_ENOUGH_MEMORYInsufficient display buffer.
This function retrieves the SwivelView orientation of the LCD display.
The SwivelView status is read directly from the S1D13706 registers. Calling this function
when the LCD display is not initialized will result in an erroneous return value.
Note
seGetSwivelViewMode() was previously called seGetLcdOrientation(). It is now rec-
ommended to call seGetSwivelViewMode() instead of seGetLcdOrientation().
None.
LANDSCAPE
Not rotated.
ROTATE90
Display is rotated 90 degrees counterclockwise.
ROTATE180
Display is rotated 180 degrees counterclockwise.
ROTATE270
Display is rotated 270 degrees counterclockwise.
This function verifies that the clocks are properly configured for the a SwivelView mode
given the bits-per-pixel and rotation (see the section titled SwivelView in the S1D13706
Hardware Functional Specification document).
BitsPerPixel
The given color depth. BitsPerPixel can be one of the following:
1, 2, 4, 8, 16.
Rotate
The values for Rotate are:
LANDSCAPE: display not rotated
ROTATE90: display rotated 90 degrees counterclockwise
ROTATE180: display rotated 180 degrees counterclockwise
ROTATE270: display rotated 270 degrees counterclockwise
ERR_OK
ERR_SWIVELVIEW_CLOCK
The new rotation was completed with no problems.
The function completed with no problems
The clocks are not configured correctly.
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/23

Advertisement

Table of Contents
loading

Table of Contents