/* Check if Received data is ready. Check if data has been received and loaded in UART_RHR.  */
uint32_t uart_is_rx_ready(Uart *p_uart)
/* Check if Received data is ready. Check if data has been received and loaded in UART_RHR.  */
uint32_t uart_is_rx_ready(Uart *p_uart)
{
	return (p_uart->UART_SR & UART_SR_RXRDY) > 0;
}