/* Comparator 0 Interrupt Handler. 
If users want to user the ACMP Interrupt Callback feature, Users should promise that the ACMP Handle in the vector table is ACMPIntHandler. */
void ACMPIntHandler(void)
/* Comparator 0 Interrupt Handler. 
If users want to user the ACMP Interrupt Callback feature, Users should promise that the ACMP Handle in the vector table is ACMPIntHandler. */
void ACMPIntHandler(void)
{
    unsigned long ulBase = ACMP_BASE;   
    unsigned long ulIntFlags;
    ulIntFlags = xHWREGB(ulBase + CMP0_SCR);
    xHWREGB(ulBase + CMP0_SCR) = ulIntFlags;
    if((ulIntFlags & 0x06) && g_pfnACMPHandlerCallbacks[0])
    {
        g_pfnACMPHandlerCallbacks[0](0, 0, ulIntFlags, 0);
    }
}