摘要
随着单片机应用的扩展,原有的编程思想难以满足复杂多任务系统的要求,为此将操作系统引入单片机软件设计。文章在用户专用键盘软件开发中引入RTX51实时操作系统,介绍了整个系统的任务分配,分析了各个任务的运行机制,并给出流程图及主要程序代码。通过采用RTX51实时操作系统,不仅提高了软件开发效率,而且控制方案更加科学合理。
With the extension of MCU application, the previous software programming methods can not meet the need of complex and multi task system. So OS is introduced into the MCU software development. The paper develops user special keyboard software by using RTX51 real time operation system, introduces the task assignment of whole system, analyzes the operation mechanism of every task, and provides the flow chat and main codes. The use of RTX 51 not only improves the efficiency of software development, but also makes the control scheme more scientific and reasonable.
出处
《电子技术(上海)》
2012年第5期47-50,共4页
Electronic Technology