另外,这些我的确是在手册里看到了,不过有一点不太理解,
对于电平如何控制传输也有一定的了解,
只是在手册里,USART的CR3寄存器有这样一段描述
Bit 8 RTSE: RTS enable
0: RTS hardware flow control disabled
Note: 1: RTS interrupt enabled, data is only requested when there is space in the receive
buffer. The transmission of data is expected to cease after the current character has
been transmitted. The nRTS output is asserted (tied to 0) when a data can be
received.
不知道楼主用的是哪款芯片,这个在硬件手册中都是有介绍的,我参考的是F103系列的。串口硬件流控制这里有介绍。
我用的是stm32f401ret6,
首先,谢谢斑竹的回答。
另外,这些我的确是在手册里看到了,不过有一点不太理解,
对于电平如何控制传输也有一定的了解,
只是在手册里,USART的CR3寄存器有这样一段描述
Bit 8 RTSE: RTS enable
0: RTS hardware flow control disabled
Note: 1: RTS interrupt enabled, data is only requested when there is space in the receive
buffer. The transmission of data is expected to cease after the current character has
been transmitted. The nRTS output is asserted (tied to 0) when a data can be
received.
其中这个receive buffer是什么不太理解,
硬件图中完全看不出有这个buffer,看上去只是两个控制信号。
一周热门 更多>