Home
last modified time | relevance | path

Searched refs:width_bit (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.4.0/components/driver/
Dadc_common.c311 esp_err_t adc_set_data_width(adc_unit_t adc_unit, adc_bits_width_t width_bit) in adc_set_data_width() argument
314 …ADC_CHECK(width_bit < ADC_WIDTH_MAX, "WIDTH ERR: ESP32 support 9 ~ 12 bit width", ESP_ERR_INVALID_… in adc_set_data_width()
316 …ADC_CHECK(width_bit == ADC_WIDTH_MAX - 1, "WIDTH ERR: see `adc_bits_width_t` for supported bit wid… in adc_set_data_width()
321 adc_hal_rtc_set_output_format(ADC_NUM_1, width_bit); in adc_set_data_width()
326 adc_hal_rtc_set_output_format(ADC_NUM_2, width_bit); in adc_set_data_width()
370 esp_err_t adc1_config_width(adc_bits_width_t width_bit) in adc1_config_width() argument
373 …ADC_CHECK(width_bit < ADC_WIDTH_MAX, "WIDTH ERR: ESP32 support 9 ~ 12 bit width", ESP_ERR_INVALID_… in adc1_config_width()
375 …ADC_CHECK(width_bit == ADC_WIDTH_MAX - 1, "WIDTH ERR: see `adc_bits_width_t` for supported bit wid… in adc1_config_width()
379 adc_hal_rtc_set_output_format(ADC_NUM_1, width_bit); in adc1_config_width()
563 esp_err_t adc2_get_raw(adc2_channel_t channel, adc_bits_width_t width_bit, int *raw_out) in adc2_get_raw() argument
[all …]
Dadc.c668 esp_err_t adc1_config_width(adc_bits_width_t width_bit) in adc1_config_width() argument
671 if (width_bit != ADC_WIDTH_BIT_12) { in adc1_config_width()
732 esp_err_t adc2_get_raw(adc2_channel_t channel, adc_bits_width_t width_bit, int *raw_out) in adc2_get_raw() argument
735 if (width_bit != ADC_WIDTH_BIT_12) { in adc2_get_raw()
/hal_espressif-3.4.0/zephyr/esp_shared/components/driver/
Dadc_common.c319 esp_err_t adc_set_data_width(adc_unit_t adc_unit, adc_bits_width_t width_bit) in adc_set_data_width() argument
322 …ADC_CHECK(width_bit < ADC_WIDTH_MAX, "WIDTH ERR: ESP32 support 9 ~ 12 bit width", ESP_ERR_INVALID_… in adc_set_data_width()
324 …ADC_CHECK(width_bit == ADC_WIDTH_MAX - 1, "WIDTH ERR: see `adc_bits_width_t` for supported bit wid… in adc_set_data_width()
329 adc_hal_rtc_set_output_format(ADC_NUM_1, width_bit); in adc_set_data_width()
334 adc_hal_rtc_set_output_format(ADC_NUM_2, width_bit); in adc_set_data_width()
378 esp_err_t adc1_config_width(adc_bits_width_t width_bit) in adc1_config_width() argument
381 …ADC_CHECK(width_bit < ADC_WIDTH_MAX, "WIDTH ERR: ESP32 support 9 ~ 12 bit width", ESP_ERR_INVALID_… in adc1_config_width()
383 …ADC_CHECK(width_bit == ADC_WIDTH_MAX - 1, "WIDTH ERR: see `adc_bits_width_t` for supported bit wid… in adc1_config_width()
387 adc_hal_rtc_set_output_format(ADC_NUM_1, width_bit); in adc1_config_width()
571 esp_err_t adc2_get_raw(adc2_channel_t channel, adc_bits_width_t width_bit, int *raw_out) in adc2_get_raw() argument
[all …]
Dadc.c146 esp_err_t adc1_config_width(adc_bits_width_t width_bit) in adc1_config_width() argument
149 if (width_bit != ADC_WIDTH_BIT_12) { in adc1_config_width()
218 esp_err_t adc2_get_raw(adc2_channel_t channel, adc_bits_width_t width_bit, int *raw_out) in adc2_get_raw() argument
221 if (width_bit != ADC_WIDTH_BIT_12) { in adc2_get_raw()
/hal_espressif-3.4.0/components/driver/include/driver/
Dadc.h220 esp_err_t adc1_config_width(adc_bits_width_t width_bit);
277 esp_err_t adc_set_data_width(adc_unit_t adc_unit, adc_bits_width_t width_bit);
381 esp_err_t adc2_get_raw(adc2_channel_t channel, adc_bits_width_t width_bit, int *raw_out);