/* Callback function for AFEC conversion data is ready interrupt.  */
static void afec_set_data_ready_flag(void)
/* Callback function for AFEC conversion data is ready interrupt.  */
static void afec_set_data_ready_flag(void)
{
	is_data_ready = true;
	afec_disable_interrupt(AFEC0, AFEC_INTERRUPT_DATA_READY);
	tc_stop(TC0, 0);
}