/* Indicates whether or not the I2C bus is busy. This function returns an indication of whether or not the I2C bus is busy. This function can be used in a multi-master environment to determine if another master is currently using the bus.  */
xtBoolean xI2CMasterBusBusy(unsigned long ulBase)
/* Indicates whether or not the I2C bus is busy. This function returns an indication of whether or not the I2C bus is busy. This function can be used in a multi-master environment to determine if another master is currently using the bus.  */
xtBoolean xI2CMasterBusBusy(unsigned long ulBase)
{
    xASSERT((ulBase == I2C0_BASE) || (ulBase == I2C1_BASE));
    return ((xHWREG(I2C_STATUS)&0xF8) == 0xF8)? xfalse : xtrue;
}