/* Enable/Disable I2C 14-bit timeout counter of the specified I2C port. 
The  */
void I2CTimeoutCounterSet(unsigned long ulBase, unsigned long ulEnable, unsigned long ulDiv4)
/* Enable/Disable I2C 14-bit timeout counter of the specified I2C port. 
The  */
void I2CTimeoutCounterSet(unsigned long ulBase, unsigned long ulEnable, unsigned long ulDiv4)
{
    xASSERT((ulBase == I2C0_BASE) || (ulBase == I2C1_BASE));
    xASSERT((ulEnable == I2C_TIMEOUT_EN) || (ulEnable == I2C_TIMEOUT_DIS));
    xASSERT((ulDiv4 == I2C_TIMEOUT_DIV4) || (ulDiv4 == I2C_TIMEOUT_DIV_NO));
    xHWREG(ulBase + I2C_O_TOC) &= ~0x00000006;
    xHWREG(ulBase + I2C_O_TOC) |= ulEnable | ulDiv4;
}