摘要
采用单片机C语言作为编程语言,介绍一种基于DEI1016的四发八收智能型ARINC429接口板的嵌入式实时软件设计方法;首先,简单地介绍了单片机C语言和开发流程,再详细地描述了软件的各个功能模块,最后总结了若干提高软件实时性的编程技巧和要点,这种设计方法,充分发挥了C语言在模块化、可读性、可维护性和可移植性上的优势,同时弥补了C语言执行效率不高的缺点。实践证明,用单片机C语言编写出的嵌入式软件能很好地满足接口板的高速数据传输功能的要求。
This paper introduces a scheme of the embedded real--time software design for 4--Transmiter and 8--Receiver Arinc429 Bus intelligent interface card based on DEI1016. C language of single chip processor is used as the design language instead of Assemble language. Firstly, C language of single chip processor and design flow are briefly introduced and then the function modules are described in detail, Further more, in the end of the paper, some programming experience and skills to improve the real--time operation are summarized. The design of this software, not only improves the efficiency of C language, but also has the advantages such as modularization, readability, maintainability and portability. The experiment on the design indicates that the program written with C language of single chip processor can satisfy the function that the dates can be transferred via the interface card in high speed.
出处
《计算机测量与控制》
CSCD
2006年第6期828-831,共4页
Computer Measurement &Control