UART_DM_SR_TXRDY
while (((*UART_DM_SR & UART_DM_SR_TXRDY) == 0) && --limit) {
while ((uart_getreg(bas, UART_DM_SR) & UART_DM_SR_TXRDY) == 0)