Mi ingles no es bueno, a ver si alguien me ayuda:
The Transmit Interrupt Flag (UxTXIF) is located in the corresponding Interrupt Flag Status (IFSx)
register. The UTXISEL<1:0> control bits (UxSTA<15,13>) determine when the UART will
generate a transmit interrupt.
1. UTXISEL<1:0> = 00, the UxTXIF is set when a character is transferred from the transmit
buffer to the Transmit Shift Register (UxTSR). This implies at least one location is empty in
the transmit buffer.
2. UTXISEL<1:0> = 01, the UxTXIF is set when the last character is shifted out of the Transmit
Shift Register (UxTSR). This implies that all the transmit operations are completed.
3. UTXISEL<1:0> = 10, the UxTXIF is set when the character is transferred to the Transmit
Shift Register (UxTSR) and the transmit buffer is empty.
The UxTXIF bit will be set when the module is first enabled. The user should clear the UxTXIF
bit in the ISR.
Switching between the two Interrupt modes during operation is possible.
While the UxTXIF flag bit indicates the status of the UxTXREG register, the TRMT bit
(UxSTA<8>) shows the status of the UxTSR. The TRMT status bit is a read-only bit, which is set
when the UxTSR is empty. No interrupt logic is tied to this bit, so the user has to poll this bit in
order to determine if the UxTSR is empty.