/* Get the Offset data for the ADC sample channel.  */
unsigned long ADCOffsetDataGet(unsigned long ulBase)
/* Get the Offset data for the ADC sample channel.  */
unsigned long ADCOffsetDataGet(unsigned long ulBase)
{
    unsigned long ulData = 0;
    xASSERT(ulBase == ADC_BASE);
    ulData = xHWREG(ulBase + ADC0_OFS) & ADC0_OFS_M;
    return ulData;
}