/* Check if both transmit buffers are sent out.  */
uint32_t uart_is_tx_buf_empty(Uart *p_uart)
/* Check if both transmit buffers are sent out.  */
uint32_t uart_is_tx_buf_empty(Uart *p_uart)
{
	return (p_uart->UART_SR & UART_SR_TXEMPTY) > 0;
}