/* Indicates whether or not the I2C bus is busy.  */
xtBoolean I2CMasterBusBusy(unsigned long ulBase)
/* Indicates whether or not the I2C bus is busy.  */
xtBoolean I2CMasterBusBusy(unsigned long ulBase)
{
    xASSERT((ulBase == I2C0_BASE) || ((ulBase == I2C1_BASE)));
    return (xHWREGB(ulBase + I2C_STATUS) & I2C_STATUS_BUSY) ? xtrue : xfalse;
}