/* Enable ADC sample sequence. Allows the specified sample sequence to be captured when its trigger is detected. A sample sequence must be configured before it is enabled.  */
void xADCEnable(unsigned long ulBase)
/* Enable ADC sample sequence. Allows the specified sample sequence to be captured when its trigger is detected. A sample sequence must be configured before it is enabled.  */
void xADCEnable(unsigned long ulBase)
{
    xASSERT(ulBase == xADC0_BASE);
    if(0 == _ADC_Status)
    {
        while(1);
    }
    ADCInit(ulBase, 200000);
    if(_ADC_Mode == xADC_MODE_SCAN_CONTINUOUS)
    {
        ADCStart(ulBase, _ADC_Channels, ADC_START_MODE_BURST);
    }
    else
    {
        ADCStart(ulBase, _ADC_Channels, _ADC_Triggler);
    }
}