S1D13705 Epson Electronics America, Inc., S1D13705 Datasheet - Page 140

no-image

S1D13705

Manufacturer Part Number
S1D13705
Description
S1d13705 Embedded Memory Lcd Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D1370500A1
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
S1D13705F00A100
Manufacturer:
EPSON
Quantity:
1 831
Part Number:
S1D13705F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Page 48
9 Hardware Abstraction Layer (HAL)
9.1 Introduction
9.2 Contents of the HAL_STRUCT
typedef struct tagHalStruct
{
} HAL_STRUCT;
S1D13705
X27A-G-002-02
char
WORD
WORD
BYTE
DWORD dwClkI;
DWORD dwDispMem;
WORD
szIdString[16];
wDetectEndian;
wSize;
Regs [MAX_REG + 1];
wFrameRate;
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 S1D13705 on different processor platforms. The
HAL also allows for easier porting of programs between S1D1370X 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
13705CFG.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 S1D13705 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 ia a structure which defines all the registers described in the
S1D13705 Hardware Functional Specification, document number X27A-A-001-xx. Using
the 13705CFG.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 S1D13705 for operation.
/* Input Clock Frequency (in kHz) */
/* Starting address of display buffer memory */
/* Desired panel frame rate */
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 01/02/13

Related parts for S1D13705