/* Callback function for ADC conversion data is ready interrupt.  */
static void adc_set_data_ready_flag(void)
/* Callback function for ADC conversion data is ready interrupt.  */
static void adc_set_data_ready_flag(void)
{
	is_data_ready = true;
	adc_disable_interrupt(ADC, ADC_INTERRUPT_EOC_1);
	tc_stop(TC0, 0);
}