/* Enable I2C interrupt of the specified I2C port. 
The  */
void xI2CMasterIntEnable(unsigned long ulBase, unsigned long ulIntType)
/* Enable I2C interrupt of the specified I2C port. 
The  */
void xI2CMasterIntEnable(unsigned long ulBase, unsigned long ulIntType)
{
    xASSERT((ulBase == I2C0_BASE) || (ulBase == I2C1_BASE) ||
            (ulBase == I2C2_BASE) || (ulBase == I2C3_BASE) ||
            (ulBase == I2C4_BASE));
    xHWREG(ulBase + I2C_CON) |= I2C_CON_EI;
    if (ulBase == I2C0_BASE)
    {
        xIntEnable(INT_I2C0);
    }
    else if (ulBase == I2C1_BASE)
    {
        xIntEnable(INT_I2C1);
    }
}