Among the ways to detect the completion of UART Transmit, the UART transmit interrupt flag is one.
Is the Transmit interrupt flag (UCTXIFG) set even when the transmit interrupt is disabled? Is the flag automatically cleared or do we need to clear it in software?
.
Second way to detect the completion of UART Transmit is Transmit Ready Interrupt Flag (UCTXRDYIFG). What is the difference between UCTXRDYIFG and UCTXCPTIFG ?
Third way to detect the completion is to poll the UCBUSY flag.
Which one of these three methods is the best to continuously send out characters on the TX line?