/* ADC Set DMA to Continue. 
This flag is set when the converted voltage crosses the high or low thresholds. */
bool adc_awd(uint32_t adc)
/* ADC Set DMA to Continue. 
This flag is set when the converted voltage crosses the high or low thresholds. */
bool adc_awd(uint32_t adc)
{
	return (ADC_ISR(adc) & ADC_ISR_AWD1) &&
	       (ADC_ISR(adc) & ADC_ISR_AWD2) &&
	       (ADC_ISR(adc) & ADC_ISR_AWD3);
}