/* Init interrupts callback for the specified UART Port. 
The  */
void UARTIntCallbackInit(unsigned long ulBase, xtEventCallback pfnCallback)
/* Init interrupts callback for the specified UART Port. 
The  */
void UARTIntCallbackInit(unsigned long ulBase, xtEventCallback pfnCallback)
{
    xASSERT((ulBase == UART0_BASE) || (ulBase == UART1_BASE) ||
            (ulBase == UART2_BASE) );
    switch(ulBase)
    {
        case UART0_BASE:
        {
            g_pfnUARTHandlerCallbacks[0] = pfnCallback;
            break;
        }
        case UART1_BASE:
        {
            g_pfnUARTHandlerCallbacks[1] = pfnCallback;
            break;
        }
        case UART2_BASE:
        {
            g_pfnUARTHandlerCallbacks[2] = pfnCallback;
            break;
        }
        default:
        {
            break;
        }
    }
}