📄 menu.h
字号:
#ifndef _MENU_DOT_H
#define _MENU_DOT_H
typedef struct menu_struct
{
int const id;
const char *name;
struct menu_struct *son ,*father;
struct menu_struct *up,*down;
}MENU;
/*typedef struct
{
unsigned int Menu_id; //当前状态索引号
unsigned int Key_PressOk; //按下"回车"键时转向的状态索引号
unsigned int Key_PressEsc; //按下"返回"键时转向的状态索引号
unsigned int Key_PressDown; //按下"向下"键时转向的状态索引号
unsigned int Key_PressUp; //按下"向上"键时转向的状态索引号
const unsigned char *Menu_Name;
void (*CurrentOperate)(); //当前状态应该执行的功能操作
}KeyStruct;*/
extern MENU *menu_p;
extern MENU menu[];
extern unsigned char PUP;
extern unsigned char PDN;
//extern KeyStruct KeyTab[];
void menu_select(unsigned char key);
void menu_init(void);
void fsl_filter(void);
void HEXtoDEC(unsigned char type, unsigned int H_value, unsigned char position);
void putout_init (void);
void menu_flash (void);
//void menu_proc(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -