摘要
介绍了一种基于AVR高速单片机的控制电路及其软件设计。该电路硬件集成度高、功能强大、接口丰富。软件采用一种针对AVR单片机特点的树状菜单界面的设计方法,代码简洁,流程清晰,可以方便地增删菜单界面,易于修改、维护和移植,并引入了Twin节点的概念,使其更适宜在多通道输入/输出系统中应用。该电路已在多个系统中应用。
A control circuit based on high -performance AVR Microcontroller is introduced. Both hardware configuration and software design are described and analyzed in detail. The software design of dendriform menu, which takes advantage of the features of AVR MCU, is introduced in detail. The code of the design is compact and easy for editing menus. It is also convenient to maintain and transplant. Especially, due to the use of Twin node, the design fits multi-channel input/output system much better.
出处
《电子工程师》
2005年第6期68-70,共3页
Electronic Engineer