Bit 1 EOC: End of conversion This bit is set by hardware at the end of a group channel conversion (regular or injected). It is cleared by software or by reading the ADC_DR. 0: Conversion is not complete 1: Conversion complete
/* Test EOC flag */ while(!ADC_GetFlagStatus(ADC1, ADC_FLAG_EOC));------------A /* Read regular converted data and clear EOC Flag */ RegularConvData = ADC_GetConversionValue(ADC1);