![4.LCD API Definition](/images/new-backgrounds/126441/12644131x1.webp)
Direct Drive LCD Design Guide
4.LCD API Definition
4.1.1Standard Redefines
These following type have been redefined in order to make the code easier for formatting.
typedef unsigned char | uI08; | // Unsigned Integer |
typedef signed char | sI08; | // Signed Integer |
typedef unsigned short uI16; | // Unsigned Integer | |
typedef signed short | sI16; | // Signed Integer |
typedef unsigned long | uI32; | // Unsigned Integer |
typedef signed long | sI32; | // Signed Integer |
4.1.2LCD 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