/* ADC Offset and Gain mode configuration. This function disable the ADC correction for offset calibration and gain calibration.  */
void adc_correction_stop(void)
/* ADC Offset and Gain mode configuration. This function disable the ADC correction for offset calibration and gain calibration.  */
void adc_correction_stop(void)
{	struct adc_config conf_adc;
	adc_get_config_defaults(&conf_adc);
	conf_adc.correction.correction_enable = false;
	correction_measures_done = false;
	adc_init(&adc_instance, ADC, &conf_adc);
	adc_enable(&adc_instance);
}