关于UART程序的CTS与 RTS的使用,我并不是很能理解官方的解释:Hardware flow control between two devices is accomplished by connecting the UART Request-To-Send (RTS) pin to the Clear-To-Send (CTS) input on the receiving device, and connecting the RTS output of the receiving device to the UART CTS pin
我的需求是想通过某个引脚来控制uart接收状态或发送状态(比如将PINA拉高,UART转变为接收状态,拉低PINA则将UART转为发送态)
1. RTS与CTS能满足我的需求吗?
2. 如果1满足,我该如何控制这两个引脚做状态转换?
3. 如果1不满足,是否有其他方案来满足我的需求呢?