/* ADC Read the End-of-Sequence Flag for Regular Conversions. 
This flag is set after all channels of an regular group have been converted. */
bool adc_eos(uint32_t adc)
/* ADC Read the End-of-Sequence Flag for Regular Conversions. 
This flag is set after all channels of an regular group have been converted. */
bool adc_eos(uint32_t adc)
{
	return ADC_ISR(adc) & ADC_ISR_EOS;
}