摘要
嵌入式系统作为连接智能设备和主控计算机的中间层,起着承上启下的作用,既需要采集智能设备的数据,也要接收主控机的指令,往往采用多个串口进行通信。分析了串行通信的基本规律和串口输入的两种方法,总结了利用多线程进行多串口通信程序设计的基本原则。
Embedded system communicates with intelligent device and master computer, capturing intelligent device data and being controlled by master computer. Multi serial port communication program is needed. In this paper, serial communication protocol and 2 serial port input method are summarized. Principle of multithread multi serial port communication programming in Windows CE is presented.
出处
《微处理机》
2008年第2期89-90,94,共3页
Microprocessors