Epson S1D13705 Computer Monitor User Manual


 
Epson Research and Development Page 55
Vancouver Design Center
Programming Notes and Examples S1D13705
Issue Date: 02/01/22 X27A-G-002-03
int seSetHighPerformance(BOOL OnOff)
Description: This function call enables or disable the high performance bit of the S1D13705.
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
speeds are slower and the S1D13705 uses less power.
Parameters: OnOff - a boolean value (defined in HAL.H) to indicate whether to
enable of disable high performance.
Return Value: ERR_OK - operation completed with no problems
9.4.3 Advanced HAL Functions
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 seSetPortraitMethod( int Style )
Description: This selects the portrait mode method to be used when seSetHWRotate() is called to
put the S1D13705 into portrait mode.
Parameters: Style - call with style set to DEFAULT (-1) to select Default Portrait Mode
- call with style set to any other value to select Alternate Portrait Mode.
Return Value: ERR_OK - operation completed with no problems
ERR_FAILED - the operation failed.
int seSetHWRotate(int Rotate)
Description: This function sets the rotation scheme according to the value of 'Rotate'. When
portrait mode is selected as the display rotation the scheme selected is the 'non-X2'
scheme.
Parameters: Rotate - the direction to rotate the display
- Valid arguments for Rotate are: LANDSCAPE and PORTRAIT.
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 rotate mode is an inability to set the desired
frame rate when setting portrait mode. Other factors which can cause a failure
include having a 0 Hz frame rate or specifying a value other than LANDSCAPE or
PORTRAIT for the rotation scheme.