📄 dsp28_lcd.h
字号:
#define uint unsigned int
#define uchar unsigned char
//#define Uint16 unsigned int
//*************行中每一个单元的基本信息*************************//
typedef struct{
uchar foreground_color;
uchar background_color;
uint x_cdinate;
uchar y_cdinate;
uint wide;
uchar lengh;
uchar menu_sign; //菜单标志
const uchar *pt_data;
}baseData;
//*************页中每一行的信息**************************//
typedef struct{
uchar unit_num; //每一行或每一菜单的单元个数
const baseData *pt_base; //指向每一行或每一菜单的指针
}lineData;
//**************每一页的信息************************//
typedef struct{
uchar line_num; //每一页包含的行数
uchar menu_num; //每一页包含的菜单数
const lineData *pt_line; //指向页的指针
const lineData *pt_menu; //指向菜单的指针
}pageData;
//****************************************//
/* typedef struct{
Uint16 A5:1;
Uint16 A4:1;
Uint16 A3:1;
Uint16 A2:1;
Uint16 A1:1;
Uint16 A0:1;
Uint16 rsvd1:10;
}keyData;*/
//***************************************//
/* typedef struct{
Uint16 all;
keyData bit;
}key;*/
//***************************************//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -