Home
last modified time | relevance | path

Searched refs:adc_value (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.4.0/components/driver/
Dadc_common.c429 int adc_value; in adc1_get_raw() local
445 …adc_hal_convert(ADC_NUM_1, channel, &adc_value); //Start conversion, For ADC1, the data always v… in adc1_get_raw()
452 return adc_value; in adc1_get_raw()
566 int adc_value = 0; in adc2_get_raw() local
616 ret = adc_hal_convert(ADC_NUM_2, channel, &adc_value); in adc2_get_raw()
618 adc_value = -1; in adc2_get_raw()
634 *raw_out = adc_value; in adc2_get_raw()
/hal_espressif-3.4.0/zephyr/esp_shared/components/driver/
Dadc_common.c437 int adc_value; in adc1_get_raw() local
453 …adc_hal_convert(ADC_NUM_1, channel, &adc_value); //Start conversion, For ADC1, the data always v… in adc1_get_raw()
460 return adc_value; in adc1_get_raw()
574 int adc_value = 0; in adc2_get_raw() local
624 ret = adc_hal_convert(ADC_NUM_2, channel, &adc_value); in adc2_get_raw()
626 adc_value = -1; in adc2_get_raw()
642 *raw_out = adc_value; in adc2_get_raw()