/* Get the I2C wake-up flag of the specified I2C port. 
The  */
xtBoolean I2CWakeupStatusGet(unsigned long ulBase)
/* Get the I2C wake-up flag of the specified I2C port. 
The  */
xtBoolean I2CWakeupStatusGet(unsigned long ulBase)
{
    xASSERT((ulBase == I2C0_BASE) || (ulBase == I2C1_BASE));
    return (xHWREG(ulBase + I2C_WKUPSTS)&I2C_WKUPSTS_WKUPIF) ? 1 : 0;
}