首页 | 本学科首页   官方微博 | 高级检索  
     

嵌入式系统串口通信分层结构设计与实现
引用本文:宋国明,王成云.嵌入式系统串口通信分层结构设计与实现[J].微计算机信息,2006,22(11):14-16.
作者姓名:宋国明  王成云
作者单位:1. 610031,成都电子机械高等专科学校
2. 611731,成都国腾通信集团有限公司
摘    要:介绍了以STC89C54RD+为核心具有ISP(在线可编程)特性的嵌入式系统中,PC机与该系统串口全双工通信的实现。给出了串口通信协议,提出了嵌入式系统中串口通信程序的分层结构设计的框架,及在KeilC51中实现该软件的方法。该方法有利于提高程序的封装性和模块化程度,同时也增强了串口数据收发处理的并发性和实时性。

关 键 词:ISP  嵌入式系统  全双工通信  通信协议  分层结构
文章编号:1008-0570(2006)04-2-0014-03
修稿时间:2005年9月18日

Design And Realization Of Serial Communication programming In Embedded System Based On Layered Structure
Song,Guoming,Wang,Chengyun.Design And Realization Of Serial Communication programming In Embedded System Based On Layered Structure[J].Control & Automation,2006,22(11):14-16.
Authors:Song  Guoming  Wang  Chengyun
Affiliation:(Chengdu Electromechanical College,Chengdu,610031) Song,Guoming (Chengdu Goldentel Communication Corporation,Chengdu,611731) Wang,Chengyun
Abstract:An approach of asynchronous serial communication programming is introduced, which is used for communicating between PC and embedded system based on STC89C54RD+ with ISP characteristic. The communication protocol is presented and the programming technique of layered structure frame is proposed also. The serial communication program is developed in Keil C51. This mechanism can improve the encapsulation and modularization in programming, while the performance of concurrence and real-time data processing capacity is enhanced in serial data communication.
Keywords:ISP  Embedded system  Full-duplex communication  Communication protocol  Layered structure
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号