/* Set I2C Programmable Filter Factor of the specified I2C port. 
The  */
void I2CGlitchFilterSet(unsigned long ulBase, unsigned char ucFilter)
/* Set I2C Programmable Filter Factor of the specified I2C port. 
The  */
void I2CGlitchFilterSet(unsigned long ulBase, unsigned char ucFilter)
{
    xASSERT((ulBase == I2C0_BASE) || ((ulBase == I2C1_BASE)));
    xASSERT((ulBase >= 0) && ((ulBase <= 31)));
    xHWREGB(ulBase + I2C_FLT) &= ~I2C_FLT_FLT_M;
    xHWREGB(ulBase + I2C_FLT) |= ucFilter;
}