检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:谈广旭 吴海青[1] Tan Guangxu;Wu Haiqing(College of Computer Science and Technology,Nanjing Forestry University,Nanjing 210037,China)
机构地区:[1]南京林业大学信息科学技术学院,南京210037
出 处:《单片机与嵌入式系统应用》2023年第12期72-75,共4页Microcontrollers & Embedded Systems
摘 要:为了方便用户控制各种嵌入式设备,通常采用一种多级菜单模型配合UI设计以便进行图形化界面操作,完成参数设置和功能实现。在以往的多级菜单设计中,结构不够清晰,扩展性较差。为了方便更多人移植使用,本文采用C语言进行开发,仅需要定义一个结构体类型,用结构体数组表示父子菜单,便可实现功能,其结构简单,逻辑清晰。最后,在FPGA中成功移植本菜单模型,可满足用户各种控制需求,并可根据需求在原有菜单结构中添加新的功能,实现了高度的可扩展性和可移植性。实验结果表明,此菜单模型适合各种嵌入式设备,满足用户的控制需求和显示需求。In order to facilitate users to control various embedded devices,a multi-level menu model is usually adopted to cooperate with UI design for graphical interface operation,parameter setting and function realization.In the previous multi-level menu design,the structure is not clear and the expansibility is poor.In order to facilitate the transplantation and use of more people,the C language is used for development,only need to define a structure type,using the structure array to represent the parent-child menu.The function is realized,the structure is simple,the logic is clear.Finally,the menu model is successfully transplanted to FPGA,which can meet various control requirements of users,and new functions can be added to the original menu structure according to requirements,and a high degree of scalability and portability is realized.The experiment results show that the menu model is suitable for various embedded devices and meets the control and display needs of users.
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.12