UART API UART get character

Table 1. UART API uart_get_char
Routine uart_get_char
Prototype uint8_t uart_get_char(UART_HANDLE_T* handle);
Input parameter handle: The handle to the uart instance.
Return Received data
Description Receive one Char from uart. This functions is only returned after Char is received. In case Echo is enabled, the received data is sent out immediately.