›› 2010, Vol. 23 ›› Issue (10): 89-90.

• 论文 • 上一篇    下一篇

结构化串行通信的软件实现

宋志强,解光军   

  1. (合肥工业大学 电子科学与应用物理学院,安徽 合肥 230009)
  • 出版日期:2010-10-15 发布日期:2010-12-31
  • 作者简介:宋志强(1986-),男,硕士研究生。研究方向:嵌入式系统设计。

Software Realization of Structured Serial Communication

 SONG Zhi-Qiang, XIE Guang-Jun   

  1. (School of Electronic Science & Applied Physics,Hefei University of Technology,Hefei 230009,China)
  • Online:2010-10-15 Published:2010-12-31

摘要:

通过分析串行通信软件实现的一些关键点,提出了一种结构化的串行通信实现方法。该方法中数据的传输与处理工作分开进行,适用于各种通信协议,软件实现具有较强的可移植性,提高了对外设的响应速度。经过使用证明,此方法工作稳定可靠,具有较强的实用价值。

关键词: 结构化, 串行通信, 通信协议

Abstract:

This paper analyses some key points of software realization of serial communication and a method of structured serial communication is presented.Data transmission and processing are executed separately in the method which is suitable for a variety of communication protocols.The method also has good software portability and can improve the speed of response of the peripheral requests greatly.The result of long-term use shows that the method is stable,reliable and of great practical value.

Key words: structured programming;serial communication;communication protocol

中图分类号: 

  • TP273+.5