/* Init the ADC Interrupt Callback function. 
param of pfnCallback */
void xADCIntCallbackInit(unsigned long ulBase, xtEventCallback pfnCallback)
/* Init the ADC Interrupt Callback function. 
param of pfnCallback */
void xADCIntCallbackInit(unsigned long ulBase, xtEventCallback pfnCallback)
{
    xASSERT(ulBase == xADC1_BASE || ulBase == xADC2_BASE);
    if(ulBase == xADC1_BASE)
    {
        g_pfnADCHandlerCallbacks[0] = pfnCallback;
    }
    if(ulBase == xADC2_BASE)
    {
        g_pfnADCHandlerCallbacks[1] = pfnCallback;
    }
}