/* Returns the last ADC1 and ADC2 OR last ADC3 and ADC4 conversion result data in dual mode.  */
uint32_t ADC_GetDualModeConversionDat(ADC_Module *ADCx)
/* Returns the last ADC1 and ADC2 OR last ADC3 and ADC4 conversion result data in dual mode.  */
uint32_t ADC_GetDualModeConversionDat(ADC_Module *ADCx)
{
    assert_param(IsAdcModule(ADCx));
    if ((ADCx==ADC1) | (ADCx==ADC2))
        return (uint32_t)ADC1->DAT;
    else
        return (uint32_t)ADC3->DAT;
}