/* Indicates whether or not the I2C bus is busy. */
tBoolean I2CMasterBusBusy(unsigned long ulBase)
/* Indicates whether or not the I2C bus is busy. */
tBoolean I2CMasterBusBusy(unsigned long ulBase)
{
    ASSERT(I2CMasterBaseValid(ulBase));
    if(HWREG(ulBase + I2C_O_MCS) & I2C_MCS_BUSBSY)
    {
        return(true);
    }
    else
    {
        return(false);
    }
}