Searched refs:code_h (Results 1 – 1 of 1) sorted by relevance
167 uint32_t code_h = 0; in adc_hal_self_calibration() local172 code_h = ADC_HAL_CAL_OFFSET_RANGE; in adc_hal_self_calibration()174 chk_code = (code_h + code_l) / 2; in adc_hal_self_calibration()177 while (code_h - code_l > 1) { in adc_hal_self_calibration()179 code_h = chk_code; in adc_hal_self_calibration()183 chk_code = (code_h + code_l) / 2; in adc_hal_self_calibration()186 if ((code_h - code_l == 1)) { in adc_hal_self_calibration()197 code_h = code_list[0]; in adc_hal_self_calibration()200 code_h = MAX(code_h, code_list[i]); in adc_hal_self_calibration()203 chk_code = code_h + code_l; in adc_hal_self_calibration()