
Epson Research and Development
Vancouver Design Center
Page 61
Programming Notes and Examples
Issue Date: 01/02/05
S1D13505
X23A-G-003-07
When the display is in portrait mode the dimensions will be swapped. (i.e. a 640x480
display in portrait mode will return a width and height of 480 and 640, respectively).
Parameters:
DevID
Width
Height
- registered device ID
- unsigned integer to receive the display width
- unsigned integer to receive the display height
Return value:
ERR_OK
- the operation completed successfully
int seSelectBusWidth(int DevID, int Width)
Description:
Call this function to select the interface bus width on the ISA evaluation card.
Selectable widths are 8 bit and 16 bit.
Parameters:
DevID
Width
- registered device ID
- desired bus width. Must be 8 or 16.
Return Value:
ERR_OK
- the operation completed successfully
ERR_FAILED- the function was called on a non-ISA platform or width was not set
to 8 or 16.
Note
This call applies to the S1D13505 ISA evaluation cards only.
int seGetHostBusWidth(int DevID, int * Width)
Description:
This function retrieves the default (as set by 13505CFG.EXE) value for the host bus
interface width and returns it in Width.
Parameters:
DevID
Width
- registered device ID
- integer to hold the returned value of the host bus width
Return Value:
ERR_OK
- the function completed successfully
int seDisplayEnable(int DevID, BYTE State)
Description:
This routine turns the display on or off by enabling or disabling the ENABLE bit of
the display device (PANEL, CRT, or SIMULTANEOUS). The Display Mode
setting (LCD, CRT or SIMULTANEOUS) determines which device(s) will be
affected, the default mode is stored in the HAL_STRUCT.
Parameters:
DevID
State
- registered device ID
- set to ON or OFF to respectively enable or disable the display
Return Value:
ERR_OK
- the function completed successfully
int seDisplayFifo(int DevID, BYTE State)
Description:
This routine turns the display on or off by enabling or disabling the display FIFO
(the hardware cursor and ink layer are not affected).