#define LCD_BITMAP_HEIGHT 64 |
#define LCD_BITMAP_WIDTH 64 |
#define LCD_BYTES_PER_LINE ( LCD_WIDTH/8 ) |
#define LCD_HEIGHT 240 |
#define LCD_N_LAYERS 3 |
#define LCD_WIDTH 320 |
#define N_SCREEN_ID 4 |
#define USAGE | ( | _x_ | ) | _x_ |
#define WEDGE_PID 0x0030 |
#define WEDGE_VID 0x04df |
typedef struct tagBACKLIGHTINFO BACKLIGHT_INFO |
typedef struct tagBITMAP_HEADER BITMAP_HEADER |
typedef struct tagBITMAP_REPORT BITMAP_REPORT |
typedef struct tagCLRSCRN_REPORT CLRSCRN_REPORT |
typedef struct tagDATA_FLAGS DATA_FLAGS |
typedef struct tagDATA_REPORT DATA_REPORT |
typedef struct tagDISPLAY DISPLAY |
typedef struct tagDISPLAY_CAL DISPLAY_CAL |
typedef struct tagECHO_REPORT ECHO_REPORT |
typedef struct tagFILTER_CAL FILTER_CAL |
typedef struct tagLINE_REPORT LINE_REPORT |
typedef struct tagMOUSE_REPORT MOUSE_REPORT |
typedef ON_OFF_AUTO ON_OFF |
typedef struct tagOPTIONS OPTIONS |
typedef struct tagOPTIONS_REPORT OPTIONS_REPORT |
typedef struct tagBACKLIGHTINFO * PBACKLIGHT_INFO |
typedef struct tagDATA_FLAGS * PDATA_FLAGS |
typedef struct tagDATA_REPORT * PDATA_REPORT |
typedef struct tagDISPLAY * PDISPLAY |
typedef struct tagDISPLAY_CAL * PDISPLAY_CAL |
typedef struct tagFILTER_CAL * PFILTER_CAL |
typedef struct tagLINE_REPORT * PLINE_REPORT |
typedef struct tagMOUSE_REPORT * PMOUSE_REPORT |
typedef struct tagOPTIONS * POPTIONS |
typedef struct tagSERIALNUM_REPORT * PSERIALNUM_REPORT |
typedef struct tagSYS_CAL * PSYS_CAL |
typedef struct tagSYSCAL_REPORT * PSYSCAL_REPORT |
typedef struct tagTEST_REPORT * PTEST_REPORT |
typedef struct tagLAYER * PVISIBILITY |
typedef struct tagWRITE_SCRN_REPORT * PWRITE_SCRN_REPORT |
typedef struct tagRESET_DEFAULTS_REPORT RESET_DEFAULTS_REPORT |
typedef struct tagSCRN_HEADER SCRN_HEADER |
typedef struct tagSERIALNUM_REPORT SERIALNUM_REPORT |
typedef struct tagSYS_CAL SYS_CAL |
typedef struct tagSYSCAL_REPORT SYSCAL_REPORT |
typedef INT8U T_REPORT_ID |
typedef struct tagTEST_REPORT TEST_REPORT |
typedef struct tagLAYER VISIBILITY |
typedef struct tagWRITE_SCRN_REPORT WRITE_SCRN_REPORT |
enum BRIGHTNESS |
00069 { // LCD Backlight intensity settings 00070 BL_DIM = 0, 00071 BL_BRIGHT = 1 00072 } BRIGHTNESS;
enum LAYER_CODE |
CURSOR_OFF | |
LAYER_OFF | |
LAYER_ON | |
LAYER_FLASH | |
LAYER_HALF | |
CURSOR_OFF | |
LAYER_OFF | |
LAYER_ON | |
LAYER_FLASH | |
LAYER_HALF |
00106 { // visibility options for LCD layers 00107 CURSOR_OFF = 0x00, 00108 LAYER_OFF = 0x00, 00109 LAYER_ON = 0x01, 00110 LAYER_FLASH = 0x02, 00111 LAYER_HALF = 0x03 00112 } LAYER_CODE;
enum LCD_LAYER |
enum MIX_CODE |
00114 { // layer mixing code 00115 MIX_OR = 0x1C, // all three layers OR-ed (00011100) 00116 MIX_XOR_OR = 0x1D, // (L1 XOR L2) OR L3 (00011101) 00117 MIX_AND_OR = 0x1E, // (L1 AND L2) OR L3 (00011110) 00118 MIX_PRI_OR = 0x1F // L1, L2, L3 priority OR (00011111) 00119 } MIX_CODE;
enum ON_OFF_AUTO |
enum PEN_COLOR |
enum REPORT_ID |
Report ID assignments
00136 { 00137 R_DATA = 1, 00138 R_SELFTEST = 2, 00139 R_OPTIONS = 3, 00140 R_ECHO = 4, // This function (Mouse Echo) is not used. 00141 R_DRAWLINE = 5, 00142 R_SERIAL = 6, 00143 R_WRITESCRN = 7, 00144 R_SYSCAL = 8, 00145 R_CLRSCRN = 9, 00146 R_DEFAULTS = 10, 00147 R_BITMAP = 11 00148 } REPORT_ID;
enum TEST_RESULT |
00181 { // self test code descriptions 00182 STATUS_IO_FAILURE = 0xff, // Indicates we failed to do I/O to the device. 00183 STATUS_OK = 0 00184 } TEST_RESULT;