/* ADC Read the End-of-Conversion Flag for Injected Conversion. 
This flag is set by hardware at the end of each injected conversion of a channel when a new data is available in the corresponding ADCx_JDRy register. */
bool adc_eoc_injected(uint32_t adc)
/* ADC Read the End-of-Conversion Flag for Injected Conversion. 
This flag is set by hardware at the end of each injected conversion of a channel when a new data is available in the corresponding ADCx_JDRy register. */
bool adc_eoc_injected(uint32_t adc)
{
	return ADC_ISR(adc) & ADC_ISR_JEOC;
}