Hi,
How to flush the read and write buffer of UART?
I'm interfacing MSP432P401R with Uart to another micro, while sending/receiving if some data is lost means, i want to flush the uart buffer before reading / writing new data. I couldn't find any API to flush the buffer, is there any mechanism / API available to flush the UART buffer.
Regards,
Black