剖析非标准波特率的设置和使用于Linux操作系统中

复制#include <termios.h>#include <sys/ioctl.h>#include <Linux/serial.h>struct serial_t { int fd; char *device;/*/dev/ttyS0,剖析...*/ int baud; int databit;/*5,6,7,8*/ char parity;/*O,E,N*/ int stopbit;/*1,2*/ int startbit;/*1*/ struct termios options; }; 1.2.3.4.5.6.7.8.9.10.11.12.13.
本文地址:http://www.bzve.cn/news/649f1999331.html
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。