/* This function read a character from serial without interrupt enable mode */
char rt_serial_getc()
/* This function read a character from serial without interrupt enable mode */
char rt_serial_getc()
{
    while ((UTRSTAT0 & USTAT_RCV_READY) == 0);
    return URXH0;
}