I've enabled interrupt for Tx_Ready in Uart0. As soon as I enable interrupt, code jump to the interrupt callback, I check status flag and exit from the callback. Problem is that code is going to interrupt callback continuosly. Is there any way to clear TXRDY flag and avoid continous interrupt callback ?
The idea is to send a byte in tx uart and then get interrupt one time when byte is sent. What am I doing wrong ?