/* Disable speical ADC interrupt. This function can be used to disable ADC convert done interrupt.  */
void ADCIntDisable(unsigned long ulBase, unsigned long ulChs)
/* Disable speical ADC interrupt. This function can be used to disable ADC convert done interrupt.  */
void ADCIntDisable(unsigned long ulBase, unsigned long ulChs)
{
    unsigned long ulTmpReg = 0;
    xASSERT(ulBase == ADC_BASE);
    xASSERT( (ulChs & ~ADC_CH_M) == 0 );
    ulTmpReg = xHWREG(ulBase + AD_INTEN);
    ulTmpReg &= ~INTEN_GEN;
    ulTmpReg &= ~ulChs;
    xHWREG(ulBase + AD_INTEN) = ulTmpReg;
}