Class-UART/main.c
/**
 * @brief This function returns 1-byte data from UART0
 * 
 * @return unsigned char	1-byte data from UART0
 */
@brief This function returns 1-byte data from UART0

@return unsigned char        1-byte data from UART0
@brief This function returns 1 - byte data from UART0 @return unsigned char 1 - byte data from UART0
unsigned char RT_UART0_getchar()
{
    while (!RT_UART0_DataReady())
        ;
    return RT_UART0_Read();
}
unsigned char RT_UART0_getchar ( ) { while ( ! RT_UART0_DataReady ( ) ) ; return RT_UART0_Read ( ) ; }
@brief This function returns 1-byte data from UART0
@brief This function returns 1 - byte data from UART0