基于select的Linux串口485读写,文件描述符 fd_set

时间:2021-02-25 10:50:22
【文件属性】:
文件名称:基于select的Linux串口485读写,文件描述符 fd_set
文件大小:5KB
文件格式:ZIP
更新时间:2021-02-25 10:50:22
select linux 串口 485 fd_set 基于linux ,使用select检测串口句柄事件,同时进行超时判断的串口485读写操作。为高效可控的linux串口操作例程。tcsetattr,tcflush,select,ioctl,gettimeofday。485收发方向切换。
【文件预览】:
rs485
----rs485.c(15KB)
----rs485.h(1KB)

网友评论