/* Enable I2C Range Address Matching of the specified I2C port. 
The  */
void I2CRangeAddrEnable(unsigned long ulBase, unsigned long ulRangeAddress)
/* Enable I2C Range Address Matching of the specified I2C port. 
The  */
void I2CRangeAddrEnable(unsigned long ulBase, unsigned long ulRangeAddress)
{
    xASSERT((ulBase == I2C0_BASE) || ((ulBase == I2C1_BASE)));
    xHWREGB(ulBase + I2C_CON2) |= I2C_CON2_RMEN;
	xHWREGB(ulBase + I2C_RA) = ulRangeAddress << 1;
}