/* Registers an interrupt handler for the I2C module. */
void I2CIntRegister(unsigned long ulBase, void(*pfnHandler)(void))
/* Registers an interrupt handler for the I2C module. */
void I2CIntRegister(unsigned long ulBase, void(*pfnHandler)(void))
{
    unsigned long ulInt;
    ASSERT((ulBase == I2C0_MASTER_BASE) || (ulBase == I2C1_MASTER_BASE));
    ulInt = (ulBase == I2C0_MASTER_BASE) ? INT_I2C0 : INT_I2C1;
    IntRegister(ulInt, pfnHandler);
    IntEnable(ulInt);
}