摘要
围绕一个实际的串口通信设计项目,分析了嵌入式Linux串口通信过程中的主要模块,详细介绍了串口配置过程。在嵌入式Linux单个串口通信的基础之上,采用select机制,针对多串口通信进行了详细的程序设计,并且针对实际系统制定了行之有效的串口通信协议。
It makes a deeper analysis of major modules during serial communication in embedded Linux, enclosing an actual serial communication design project. At the same time, it introduces detailed information on serial configuration process. Base on single serial communication in embedded Linux, it carries out a detailed program design for multiple serials using select mechanism. It also draws up an effective serial communication protocol for the actual system.