Searched refs:code_h (Results 1 – 1 of 1) sorted by relevance
165 uint32_t code_h = 0; in adc_hal_self_calibration() local170 code_h = ADC_HAL_CAL_OFFSET_RANGE; in adc_hal_self_calibration()172 chk_code = (code_h + code_l) / 2; in adc_hal_self_calibration()175 while (code_h - code_l > 1) { in adc_hal_self_calibration()177 code_h = chk_code; in adc_hal_self_calibration()181 chk_code = (code_h + code_l) / 2; in adc_hal_self_calibration()184 if ((code_h - code_l == 1)) { in adc_hal_self_calibration()195 code_h = code_list[0]; in adc_hal_self_calibration()198 code_h = MAX(code_h, code_list[i]); in adc_hal_self_calibration()201 chk_code = code_h + code_l; in adc_hal_self_calibration()