/* Registers an interrupt handler for the I2C module. */
void I2CIntRegister(uint32_t ui32Base, void(*pfnHandler)(void))
/* Registers an interrupt handler for the I2C module. */
void I2CIntRegister(uint32_t ui32Base, void(*pfnHandler)(void))
{
    uint32_t ui32Int;
    ASSERT(_I2CBaseValid(ui32Base));
    ui32Int = _I2CIntNumberGet(ui32Base);
    ASSERT(ui32Int != 0);
    IntRegister(ui32Int, pfnHandler);
    IntEnable(ui32Int);
}