/* Unregisters an interrupt handler for a comparator interrupt. */
void ComparatorIntUnregister(uint32_t ui32Base, uint32_t ui32Comp)
/* Unregisters an interrupt handler for a comparator interrupt. */
void ComparatorIntUnregister(uint32_t ui32Base, uint32_t ui32Comp)
{
    ASSERT(ui32Base == COMP_BASE);
    ASSERT(ui32Comp < 3);
    HWREG(ui32Base + COMP_O_ACINTEN) &= ~(1 << ui32Comp);
    IntDisable(INT_COMP0_TM4C123 + ui32Comp);
    IntUnregister(INT_COMP0_TM4C123 + ui32Comp);
}