English
Language : 

SED1374 Datasheet, PDF (170/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Page 74
Epson Research and Development
Vancouver Design Center
/*-------------------------------------------------------------------------*/
enum
{
ERR_OK = 0,
/* No error, call was successful. */
ERR_FAILED,
/* General purpose failure.
*/
ERR_UNKNOWN_DEVICE,
/* */
ERR_INVALID_PARAMETER, /* Function was called with invalid parameter. */
ERR_HAL_BAD_ARG,
ERR_TOOMANY_DEVS
};
/*******************************************
* Definitions for seGetId()
*******************************************/
#define PRODUCT_ID 0x18
enum
{
ID_UNKNOWN,
ID_SED1374,
ID_SED1374F0A
};
#define MAX_MEM_ADDR 40960 -1
#define FORTY_K
#define MAX_DEVICE 10
#define SE_RSVD
40960
0
/*
** DetectEndian is used to determine whether the most significant
** and least significant bytes are reversed by the given compiler.
*/
#define ENDIAN
0x1234
#define REV_ENDIAN 0x3412
/*******************************************
* Definitions for Internal calculations.
*******************************************/
#define MIN_NON_DISP_X
32
#define MAX_NON_DISP_X
256
#define MIN_NON_DISP_Y
2
#define MAX_NON_DISP_Y
64
/*******************************************
* Definitions for seSetFont
*******************************************/
enum
{
HAL_STDOUT,
HAL_STDIN,
HAL_DEVICE_ERR
};
#define FONT_NORMAL
0x00
SED1374
X26A-G-002-02
Programming Notes and Examples
Issue Date: 99/04/27