/* ADC Read the Analog Watchdog Flag. 
This flag is set when the converted voltage crosses the high or low thresholds. */
bool adc_get_watchdog_flag(uint32_t adc)
/* ADC Read the Analog Watchdog Flag. 
This flag is set when the converted voltage crosses the high or low thresholds. */
bool adc_get_watchdog_flag(uint32_t adc)
{
	return ADC_ISR(adc) & ADC_ISR_AWD1;
}