/* Get the captured data from a sample sequence of injected channel.  */
unsigned long ADCDataInjectedGet(unsigned long ulBase, unsigned long ulChannel)
/* Get the captured data from a sample sequence of injected channel.  */
unsigned long ADCDataInjectedGet(unsigned long ulBase, unsigned long ulChannel)
{
    unsigned long ulReturn = 0;
    xASSERT((ulBase == ADC1_BASE) || (ulBase == ADC2_BASE) || (ulBase == ADC3_BASE));
    xASSERT((ulChannel > 0) || (ulChannel < 5));
    ulReturn = xHWREG(ulBase + ADC_JDR1 + (ulChannel-1)*4);
    return ulReturn;
}