/* Enable/Disable I2C 14-bit timeout counter of the specified I2C port. 
The  */
void I2CTimeoutCounterSet(unsigned long ulBase, unsigned long ulDiv64, unsigned long ulTimeout)
/* Enable/Disable I2C 14-bit timeout counter of the specified I2C port. 
The  */
void I2CTimeoutCounterSet(unsigned long ulBase, unsigned long ulDiv64, unsigned long ulTimeout)
{
    xASSERT((ulBase == I2C0_BASE) || ((ulBase == I2C1_BASE)));
    xASSERT((ulDiv64 == I2C_TIMEOUT_DIV64) || 
            (ulDiv64 == I2C_TIMEOUT_DIV_NO));
    xHWREGB(ulBase + I2C_SMB) &= ~I2C_TIMEOUT_DIV64;
    xHWREGB(ulBase + I2C_SMB) |= ulDiv64;
    xHWREGB(ulBase + I2C_SLTH) = (ulTimeout & 0xFF00) >> 8;
    xHWREGB(ulBase + I2C_SLTL) = (ulTimeout & 0x00FF);
}