/* Init interrupts callback for the specified UART Port.  */
void xUARTIntCallbackInit(unsigned long ulBase, xtEventCallback xtUARTCallback)
/* Init interrupts callback for the specified UART Port.  */
void xUARTIntCallbackInit(unsigned long ulBase, xtEventCallback xtUARTCallback)
{
    xASSERT(UARTBaseValid(ulBase));
    if (ulBase == UART0_BASE)
    {
        g_pfnUARTHandlerCallbacks[0] = xtUARTCallback;
    }
    else if (ulBase == UART1_BASE)
    {
        g_pfnUARTHandlerCallbacks[1] = xtUARTCallback;    
    }
    else
    {
        g_pfnUARTHandlerCallbacks[2] = xtUARTCallback;
    }
}