sed1355 ETC-unknow, sed1355 Datasheet - Page 200

no-image

sed1355

Manufacturer Part Number
sed1355
Description
Sed1355 Embedded Ramdac Lcd/crt Controller
Manufacturer
ETC-unknow
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sed1355F0A
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
sed1355FOA
Manufacturer:
EPSON
Quantity:
996
Part Number:
sed1355FOA
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Page 44
11.3 Using the HAL library
11.4 API for 1355HAL
SED1355
X23A-G-003-05
seRegisterDevice
seInitHal
seSetInit
seSetDisplayMode
seGetId
seGetHalVersion
seGetLibseVersion
seGetMemSize
seGetLastUsableByte
seGetBytesPerScanline
seGetScreenSize
seSelectBusWidth
seGetHostBusWidth
seDisplayEnable
seDisplayFifo
seDelay
seGetLinearDispAddr
seSplitInit
seSplitScreen
Function
Note
To utilize the HAL library, the programmer must include two “.h” files in their code. “Hal.h”
contains the HAL library function prototypes and structure definitions, and “appcfg.h” contains the
instance of the HAL_STRUCT that is defined in “Hal.h” and configured by 1355CFG.EXE.
Additionally, “hal_regs.h” can be included if the programmer intends to change the SED1355
registers directly using the seGetReg() or seSetReg() functions. For a more thorough example of
using the HAL see Section 12.1.1, “Sample code using the SED1355 HAL API” on page 77.
This section is a description of the HAL library Application Programmers Interface (API). Updates
and revisions to the HAL may include new functions not included in the following documentation.
Many of the HAL library functions have pointers as parameters. The programmer should be
aware that little validation of these pointers is performed, so it is up to the
programmer to ensure that they adhere to the interface and use valid pointers.
Programmers are recommended to use the highest warning levels of their compiler in
order to verify the parameter types.
Registers the SED1355 parameters with the HAL, calls seInitHal if necessary.
seRegisterDevice MUST be the first HAL function called by an application.
Initialize the variables used by the HAL library (called by seRegisterDevice)
Programs the SED1355 for use with the default settings, calls seSetDisplayMode to do the
work, clears display memory. Note: either seSetInit or seSetDisplayMode MUST be called
after calling seRegisterDevice
Programs the SED1355 for use with the passed display mode and flags.
Interpret the revision code register to determine chip id
Return some Version information on the HAL library
Return version information on the LIBSE libraries (for non-x86 platforms)
Determines the amount of installed video memory
Determine the offset of the last unreserved usable byte in the display buffer
Determine the number of bytes or memory consumed per scan line in current mode
Determine the height and width of the display surface in pixels
Select the bus width on the ISA evaluation card
Determine the bus width set in the HAL_STRUCT
Turn the display(s) on/off
Turn the FIFO on/off
Use the frame rate timing to delay for required seconds (requires registers to be initialized)
Get a pointer to the logical start address of the display buffer
Initialize split screen variables and setup start addresses
Set the size of either the top or bottom screen
Table 11-1: HAL Functions
Advanced HAL Functions:
General HAL Support:
Initialization:
Description
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 99/04/27

Related parts for sed1355