/* Common USART1 TX interrupt handler. 
This function handles USART1 TX complete interrupt request */
void USART1_TX_IRQHandler(void)
/* Common USART1 TX interrupt handler. 
This function handles USART1 TX complete interrupt request */
void USART1_TX_IRQHandler(void)
{
    rt_interrupt_enter();
    if (USART1->IF & USART_IF_TXC)
    {
        if (usartCbTable[2].cbFunc != RT_NULL)
        {
            (usartCbTable[2].cbFunc)(usartCbTable[2].userPtr);
        }
        BITBAND_Peripheral(&(USART1->IFC), _USART_IF_TXC_SHIFT, 0x1UL);
    }
    rt_interrupt_leave();
}