What I need to know is when any UART transmission is finished and the UART can be reconfigured or turned off. Do any register status bits tell me that?
The UART0LSR register bit UARTTEMT might do it, test ==1?
If UART is configured for DMA transfers , DMA complete interrupt may be used to recognize the completion of the UART Transmission . If UART is configured for Core transfers , UARTTEMT bit in UART0LSR register checks for both TSR(Transmit shift register) empty as well as UART0_THR Empty. Hence the UARTTEMT bit can be evaluated(test ==1) to determine whether a recently initiated transmit operation has been completed .
/* poll to ensure UART has completed the transfer */ while ((*pUART0LSR & UARTTEMT) == 0)
Retrieving data ...