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