在查询串口是否有数据到来的时候这一段是很有用的,可以让程序在准备读取之前用来确定输入缓冲区里面的可读字节数。
This can be useful when polling a serial port for data, as your program can determine the number of bytes in the input buffer before attempting a read.
介绍了一种用单片机(89C2051)实现的异步串口扩展技术,这种方法成本低,可以提供大容量的输入输出FIFO,而且对传输的数据有预处理能力。
This paper introduces an extended serial communication technique using 89C2051. It can provide I/O FIFO of high capacity. Data are pretreated before transmission.
介绍了一种用单片机(89C2051)实现的异步串口扩展技术,这种方法成本低,可以提供大容量的输入输出FIFO,而且对传输的数据有预处理能力。
This paper introduces an extended serial communication technique using 89C2051. It can provide I/O FIFO of high capacity. Data are pretreated before transmission.
应用推荐