/* Disable I2C interrupt of the specified I2C port. 
The  */
void I2CIntDisable(unsigned long ulBase, unsigned long ulIntType)
/* Disable I2C interrupt of the specified I2C port. 
The  */
void I2CIntDisable(unsigned long ulBase, unsigned long ulIntType)
{
    xASSERT((ulBase == I2C0_BASE) || ((ulBase == I2C1_BASE)));
    if(ulIntType & I2C_INT_FUNCTION)
    {
        xHWREGB(ulBase + I2C_CON1) &= ~I2C_CON1_IE;
    }
    if(ulIntType & I2C_INT_BUS_STOP)
    {
        xHWREGB(ulBase + I2C_FLT) &= ~I2C_FLT_STOPIE;
    }
    if(ulIntType & I2C_INT_TIMEOUT)
    {
        xHWREGB(ulBase + I2C_SMB) &= ~I2C_SMB_SHTF2IE;
    }
    xIntDisable(INT_I2C0);
}