/* Uart common interrupt process. This need add to uart ISR. */
static void uart_isr(struct rt_serial_device *serial)
/* Uart common interrupt process. This need add to uart ISR. */
static void uart_isr(struct rt_serial_device *serial)
{
    RT_ASSERT(serial != RT_NULL);
    if (*(char *)(pdev_uart0_state_addr) == pdev_uart0_readbusy_state)
    {
        rt_hw_serial_isr(serial, RT_SERIAL_EVENT_RX_IND);
    }
}