Epson Research and Development
Page 61
Vancouver Design Center
Programming Notes and Examples
S1D13505
Issue Date: 01/02/05
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
- registered device ID
Width
- unsigned integer to receive the display width
Height
- 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
- registered device ID
Width
- 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
- registered device ID
Width
- 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
- registered device ID
State
- 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).