Advanced Hal Functions - Epson S1D13704 Technical Manual

Embedded memory color lcd controller
Table of Contents

Advertisement

Page 52

9.2.3 Advanced HAL Functions

S1D13704
X26A-G-002-03
Return Value: ERR_OK
int seSetHightPerformance(int DevID, BOOL OnOff)
Description:
This function call enables or disable the high performance bit of the S1D13704.
When high performance is enabled then MClk equals PClk for all video display
resolutions. In the high performance state CPU to video memory performance is
improved at the cost of higher power consumption.
When high performance is disabled then MClk ranges from PClk/1 at 8 bit-per-pixel
to PClk/8 at 1 bit-per-pixel. Without high performance CPU to video memory
accessed speeds are slower but the S1D13704 uses less power.
Parameters:
DevID
OnOff
Return Value: ERR_OK
Advanced HAL functions include the functions to support split, virtual and rotated
displays. While the concept for using these features is advanced the HAL makes actually
using them easy.
int seSetHWRotate(int DevID, int Rotate)
Description:
This function sets the rotation scheme according to the value of 'Rotate'. When
SwivelView mode is selected as the display rotation the scheme selected is the 'non-
X2' scheme.
Parameters:
DevID
Rotate
Return Value: ERR_OK - operation completed with no problems
ERR_FAILED - the operation failed to complete.
The most likely reason for failing to set a SwivelView mode is an inability to set the
desired frame rate when setting the mode. Other factors which can cause a failure
include having configured for a 0 Hz frame rate or specifying something other than
LANDSCAPE or PORTRAIT for the rotation scheme.
- operation completed with no problems
- registered device ID
- a boolean value (defined in HAL.H) to indicate whether to
enable of disable high performance.
- operation completed with no problems
*
- registered device ID
- the direction to rotate the display
- Valid arguments for Rotate are: LANDSCAPE and PORTRAIT.
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/12

Advertisement

Table of Contents
loading

Table of Contents