/* Get the I2C time out flag of the specified I2C port. 
The  */
xtBoolean I2CTimeoutFlagGet(unsigned long ulBase, unsigned long ulTimeout)
/* Get the I2C time out flag of the specified I2C port. 
The  */
xtBoolean I2CTimeoutFlagGet(unsigned long ulBase, unsigned long ulTimeout)
{
    xASSERT((ulBase == I2C0_BASE) || ((ulBase == I2C1_BASE)));
    xASSERT((ulBase == I2C_TIMEOUT_SCL_LOW) || 
            (ulBase == I2C_TIMEOUT_SCL_HIGH2) ||
            (ulBase == I2C_TIMEOUT_SCL_HIGH1));
    return ((xHWREGB(ulBase + I2C_SMB) & ulTimeout) ? xtrue : xfalse);
}