Epson S1D13704 Technical Manual page 171

Embedded memory color lcd controller
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
#define FONT_DOUBLE_WIDTH
#define FONT_DOUBLE_HEIGHT
enum
{
RED,
GREEN,
BLUE
};
/*************************************************************************/
typedef struct tagHalStruct
{
char
szIdString[16];
WORD
wDetectEndian;
WORD
wSize;
BYTE Reg[MAX_REG + 1];
DWORD dwClkI;
DWORD dwDispMem;
WORD
wFrameRate;
} HAL_STRUCT;
typedef HAL_STRUCT * PHAL_STRUCT;
#ifdef INTEL
typedef HAL_STRUCT far * LPHAL_STRUCT;
#else
typedef HAL_STRUCT
#endif
/*=========================================================================*/
/*
/*=========================================================================*/
/*---------------------------- Initialization -----------------------------*/
int seRegisterDevice( const LPHAL_STRUCT lpHalInfo, int *Device );
int seSetInit( int device );
int
seInitHal( void );
/*----------------------------- Miscellaneous -----------------------------*/
int
seGetId( int nDevID, int *pId );
void seGetHalVersion( const char **pVersion, const char **pStatus, const char **pSta-
tusRevision );
int seSetBitsPerPixel( int nDevID, int nBitsPerPixel );
int seGetBitsPerPixel( int nDevID, int *pBitsPerPixel );
int seGetBytesPerScanline( int nDevID, int *pBytes );
int seGetScreenSize( int nDevID, int *width, int *height );
void seDelay( int nMilliSeconds );
int seGetLastUsableByte( int nDevID, long *LastByte );
int seSetHighPerformance( int nDevID, BOOL OnOff );
/*------------------------------- Advanced --------------------------------*/
int seSetHWRotate( int nDevID, int nMode );
Programming Notes and Examples
Issue Date: 01/02/12
0x01
0x02
/* Input Clock Frequency (in kHz) */
* LPHAL_STRUCT;
*
FUNCTION
PROTO-TYPES
/* */
/* */
Page 75
*/
S1D13704
X26A-G-002-03

Advertisement

Table of Contents
loading

Table of Contents