/* ADC3 Interrupt Handler. 
If users want to user the ADC3 Callback feature, Users should promise that the ADC3 Handle in the vector table is ADCIntHandler. */
void ADC3IntHandler(void)
/* ADC3 Interrupt Handler. 
If users want to user the ADC3 Callback feature, Users should promise that the ADC3 Handle in the vector table is ADCIntHandler. */
void ADC3IntHandler(void)
{
    unsigned long ulBase = ADC2_BASE;
    unsigned long ulIntFlags;
    unsigned long ulEventFlags = 0;
    ulIntFlags = xHWREG(ulBase + ADC_SR);
    xHWREG(ulBase + ADC_SR) = ~ulIntFlags;
    if(ulIntFlags & ADC_INT_END_CONVERSION)
    {
        ulEventFlags |= ADC_INT_END_CONVERSION;
    }
    if(ulIntFlags & ADC_INT_AWD)
    {
        ulEventFlags |= ADC_INT_AWD;
    }
    if(ulIntFlags & ADC_INT_END_JEOC)
    {
        ulEventFlags |= ADC_INT_END_JEOC;
    }
    if(ulEventFlags && g_pfnADCHandlerCallbacks[0])
    {
        g_pfnADCHandlerCallbacks[0](0, ulEventFlags, 0, 0);
    }
}