Direct Drive LCD Design Guide
LCD API Definition 4.
4.1.1 Standard Redefines
These following type have been redefined in order to make the code easier for formatting.
typedef unsigned char uI08; // Unsigned Integer 8-bits
typedef signed char sI08; // Signed Integer 8-bits
typedef unsigned short uI16; // Unsigned Integer 16-bits
typedef signed short sI16; // Signed Integer 16-bits
typedef unsigned long uI32; // Unsigned Integer 32-bits
typedef signed long sI32; // Signed Integer 32-bits
4.1.2 LCD API Data Types
These data types are used within the API to support API calls
typedef enum
{
LCDAPI_SUCCESS = 0,
LCDAPI_ERR_UNINITIALIZED, // lcd api called prior to initialization
LCDAPI_ERR_UNSUPPORTED,
LCDAPI_ERR_INVALID_PARAMETER,
LCDAPI_ERR_NULL_POINTER,
LCDAPI_ERR_ODDADDRESS // frame buffer must lie on even address
}LCDErrorType;
15