/* This Function Wait until Data RX Ready, and return Data Read from UART.  */
uint8_t uart_read(uart_num_t uart_num)
/* This Function Wait until Data RX Ready, and return Data Read from UART.  */
uint8_t uart_read(uart_num_t uart_num)
{
	uint32_t uart_port;
	uint8_t uart_val;
	uart_port = uart_num;
	while ((UART_LSR(uart_port) & UART_LSR_RDR) == 0);
	uart_val = (UART_RBR(uart_port) & UART_RBR_MASKBIT);
	return uart_val;
}