According to the manual:
The UCTXIFG interrupt flag is set by the transmitter to indicate that UCAxTXBUF is ready to accept another character. An interrupt request is generated if UCTXIE and GIE are also set. UCTXIFG is automatically reset if a character is written to UCAxTXBUF. UCTXIFG is set after a PUC or when UCSWRST = 1. UCTXIE is reset after a PUC or when UCSWRST = 1.
These are the questions:
If I am not using interrupts and I monitor the UCTXIFG flag and I don't try to send another character and I just clear the UCTXIFG flag ... does UCTXIFG get set immediately after, because UCAxTXBUF is still empty? In this case, is it safe to say that UCTXIFG and "UCAxTXBUF empty" (assuming such a signal existed) are complementary?.
if I AM using interrupts and I am using UCAIV to monitor UCTXIFG (I have UCTXIE and GIE set) ... When UCAxTXBUF is empty an interrupt will be generate. I service the interrupt but I don't write anything in the Tx Register ... Can I expect another Tx interrupt to happen as soon as I finish the interrupt routine and I go back to my main program?