52ky 发表于 2022-5-10 11:27:17

Linux串口编程说明.pdf

串行编程指令
串口操作采用类UNIX方式,打开/关闭/发送/接收等基本操作以类文件系统的方式进行,而一些属性的设置和控制则使用termios进行。串口对应的设备文件名为“/dev/ttySo”。

(Serial programming instruction
The serial port operation adopts UNIX like mode, and the basic operations such as opening / closing / sending / receiving are carried out in the way of file system, while the setting and control of some attributes are carried out by termios. The device file name corresponding to the serial port is "/ dev / ttyso".)




页: [1]
查看完整版本: Linux串口编程说明.pdf