/* Configure ADC Module. This function configures ADC convert mode(single/continue scan mode) and triggle mode(soft/hardware triggler).  */
void xADCConfigure(unsigned long ulBase, unsigned long ulMode, unsigned long ulTrigger)
/* Configure ADC Module. This function configures ADC convert mode(single/continue scan mode) and triggle mode(soft/hardware triggler).  */
void xADCConfigure(unsigned long ulBase, unsigned long ulMode, unsigned long ulTrigger)
{
    xASSERT(ulBase == xADC0_BASE);
    _ADC_Mode     = ulMode;
    _ADC_Triggler = ulTrigger;
    _ADC_Status   = 1;
}