/* 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(I2CMasterBaseValid(ulBase));
    ulInt = I2CIntNumberGet(ulBase);
    IntRegister(ulInt, pfnHandler);
    IntEnable(ulInt);
}