sed1355 ETC-unknow, sed1355 Datasheet - Page 199

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
Epson Research and Development
Vancouver Design Center
11 Hardware Abstraction Layer (HAL)
11.1 Introduction
11.2 Contents of the HAL_STRUCT
typedef struct tagHalStruct
{
} HAL_STRUCT;
Programming Notes and Examples
Issue Date: 99/04/27
char
WORD
WORD
WORD
BYTE
DWORD dwClkI;
DWORD dwBusClk;
DWORD dwRegAddr;
DWORD dwDispMem;
WORD
WORD
WORD
WORD
WORD
WORD
WORD
szIdString[16];
wDetectEndian;
wSize;
wDefaultMode;
Regs[MAX_DISP_MODE][MAX_REG + 1];
wPanelFrameRate;
wCrtFrameRate;
wMemSpeed;
wTrc;
wTrp;
wTrac;
wHostBusWidth;
The HAL is a processor independent programming library provided by Epson. The HAL was
developed to aid the implementation of internal test programs, and provides an easy, consistent
method of programming the SED1355 on different processor platforms. The HAL also allows for
easier porting of programs between SED135X products. Integral to the HAL is an information
structure (HAL_STRUCT) that contains configuration data on clocks, display modes, and default
register values. This structure combined with the utility 1355CFG.EXE allows quick customization
of a program for a new target display or environment.
Using the HAL keeps sample code simpler, although some programmers may find the HAL
functions to be limited in their scope, and may wish to program the SED1355 without using the
HAL.
The HAL_STRUCT below is contained in the file “hal.h” and is required to use the HAL library.
Within the Regs array in the structure are all the registers defined in the SED1355 Hardware
Functional Specification, document number X23A-A-001-xx. Using the 1355CFG.EXE utility you
can adjust the content of the registers contained in HAL_STRUCT to allow for different LCD panel
timing values and other default settings used by the HAL. In the simplest case, the program only
calls a few basic HAL functions and the contents of the HAL_STRUCT are used to setup the
SED1355 for operation (see Section 11.6.3, “Building a complete application for the target
example” on page 73).
/* Input Clock Frequency (in kHz) */
/* Bus Clock Frequency (in kHz) */
/* Starting address of registers */
/* Starting address of display buffer memory */
/* Desired panel frame rate */
/* Desired CRT rate */
/* Memory speed in ns */
/* Ras to Cas Delay in ns */
/* Ras Precharge time in ns */
/* Ras Access Charge time in ns */
/* Host CPU bus width in bits */
X23A-G-003-05
SED1355
Page 43

Related parts for sed1355