/* Get the captured data for the ADC sample channel.  */
unsigned long ADCDataGet(unsigned long ulBase)
/* Get the captured data for the ADC sample channel.  */
unsigned long ADCDataGet(unsigned long ulBase)
{
    unsigned long ulData;
    xASSERT(ulBase == ADC_BASE);
    ulData = xHWREG(ulBase + ADC_OUT);
    return (ulData & 0x0000FFFF);
}