摘要
介绍了一种基于单片机系统的多级菜单模块化编程方法.该方法从模块化的角度将菜单编程简单地划分为共用键盘处理和菜单模块两部分,使得菜单具有通用的模块化结构,方便了菜单的加载与卸载,增强了C51语言在单片机系统人机接口的设计,软件结构清晰,维护方便.
A multi-level menu modularization programming method based on single-chip microcomputer sys- tem is introduced. The method classified the menu program as a menu module and a common keyboard manage- ment so as to have the menu with a common modularization structure, easy for the menu to load and unload, to enhance the CSl-language design of human-computer interface in single-chip microcomputer system, and to make software structure clear, easy for maintenance.
出处
《光电技术应用》
2009年第2期62-66,共5页
Electro-Optic Technology Application
关键词
单片机
多级菜单
函数指针
菜单模块
single-chip microcomputer
multi-level menu
function pointer
menu module