/* Init interrupts callback for the specified I2C Port.  */
void I2CIntCallbackInit(unsigned long ulBase, xtEventCallback xtI2CCallback)
/* Init interrupts callback for the specified I2C Port.  */
void I2CIntCallbackInit(unsigned long ulBase, xtEventCallback xtI2CCallback)
{
    xASSERT((ulBase == I2C0_BASE) || (ulBase == I2C1_BASE));
    if (ulBase == I2C0_BASE)
    {
        g_pfnI2CHandlerCallbacks[0] = xtI2CCallback;
    }
    else
    {
        g_pfnI2CHandlerCallbacks[1] = xtI2CCallback;
    }
}