Advanced Hal Functions - Epson S1D13505 Technical Manual

Embedded ramdac lcd/crt controller
Table of Contents

Advertisement

Page 62

11.5.2 Advanced HAL Functions

S1D13505
X23A-G-003-07
To quickly blank the display, use seDisplayFifo() instead of seDisplayEnable().
Enabling and disabling the display FIFO is much faster, allowing full CPU
bandwidth to the display buffer.
Parameters:
DevID
State
Return Value: ERR_OK
Note
Disabling the display FIFO will force all display data outputs to zero but horizontal and
vertical sync pulses and panel power supply are still active. As stated earlier, the hard-
ware cursor and ink layer are not affected by disabling the FIFO.
int seDelay(int DevID, DWORD Seconds)
Description:
This function will delay for the number of seconds given in Seconds before
returning to the caller.
This function was originally intended for non-PC platforms. Because information on
how to access the timers was not always immediately available, we use the frame
rate for timing calculations. The S1D13505 registers must be initialized for this
function to work correctly.
The PC platform version of seDelay() calls the C timing functions and is therefore
independent of the register settings.
Parameters:
DevID
Seconds
Return Value: ERR_OK
ERR_FAILED- returned only on non-PC platforms when the S1D13505 registers
have not been initialized.
int seGetLinearDispAddr(int device, DWORD * pDispLogicalAddr)
Description:
Determines the logical address of the start of the display buffer. This address may
be used in programs for direct control over the display buffer.
Parameter:
device
pDispLogicalAddr - logical address is returned in this variable.
Return Value: ERR_OK
Advanced HAL functions include the functions to support split and virtual screen opera-
tions and are the same features that were described in the section on advanced programming
techniques.
int seSplitInit(int DevID, DWORD Scrn1Addr, DWORD Scrn2Addr)
- registered device ID
- set to ON or OFF respectively to enable or disable the display FIFO
- the function completed successfully
- registered device ID
- time to delay in seconds
- operation completed with no problems
- registered device ID
- operation completed with no problems.
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/05

Advertisement

Table of Contents
loading

Table of Contents