/* Receives a byte that has been sent to the I2C Master. */
unsigned long I2CMasterDataGet(unsigned long ulBase)
/* Receives a byte that has been sent to the I2C Master. */
unsigned long I2CMasterDataGet(unsigned long ulBase)
{
    unsigned long ulData;
    ulData = xHWREGB(ulBase + I2C_DAT);
    xHWREGB(ulBase + I2C_STATUS) |= I2C_STATUS_IF;
    return ulData;
}