/* Change Logs: Date Author Notes  Bernard first implementation  Wangmeng sep4020 implementation  */
void rt_hw_serial_putc(const char c)
/* Change Logs: Date Author Notes  Bernard first implementation  Wangmeng sep4020 implementation  */
void rt_hw_serial_putc(const char c)
{
    if (c=='\n')
        rt_hw_serial_putc('\r');
    while (!((*(RP)UART0_LSR) & 0x40));
    *(RP)(UART0_BASE) = c;
}