摘要
介绍了以STC89C54RD+为核心具有ISP(在线可编程)特性的嵌入式系统中,PC机与该系统串口全双工通信的实现。给出了串口通信协议,提出了嵌入式系统中串口通信程序的分层结构设计的框架,及在KeilC51中实现该软件的方法。该方法有利于提高程序的封装性和模块化程度,同时也增强了串口数据收发处理的并发性和实时性。
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.
出处
《微计算机信息》
北大核心
2006年第04Z期14-16,共3页
Control & Automation
关键词
ISP
嵌入式系统
全双工通信
通信协议
分层结构
ISP
Embedded system
Full-duplex communication
Communication protocol
Layered structure