This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我想在串口接收前先清缓存再接收,如何清除串口接收缓存
#define UARTCC26XX_FIFO_SIZE 32 //Size of the TX and RX FIFOs is 32 items
user4090300 说:没有新的数据来的话,是不是cpu串口接收到的数据就一直在fifo里面
是的