Home
last modified time | relevance | path

Searched refs:adc_unit_t (Results 1 – 19 of 19) sorted by relevance

/hal_espressif-2.7.6/components/driver/esp32s2/include/driver/
Dadc.h42 esp_err_t adc_arbiter_config(adc_unit_t adc_unit, adc_arbiter_t *config);
160 esp_err_t adc_digi_intr_enable(adc_unit_t adc_unit, adc_digi_intr_t intr_mask);
171 esp_err_t adc_digi_intr_disable(adc_unit_t adc_unit, adc_digi_intr_t intr_mask);
182 esp_err_t adc_digi_intr_clear(adc_unit_t adc_unit, adc_digi_intr_t intr_mask);
191 uint32_t adc_digi_intr_get_status(adc_unit_t adc_unit);
250 esp_err_t adc_i2s_mode_init(adc_unit_t adc_unit, adc_channel_t channel) __attribute__((deprecated));
/hal_espressif-2.7.6/components/driver/test/include/test/
Dtest_common_adc.h30 void adc_fake_tie_middle(adc_unit_t adc_unit, adc_channel_t channel);
31 void adc_fake_tie_high(adc_unit_t adc_unit, adc_channel_t channel);
32 void adc_fake_tie_low(adc_unit_t adc_unit, adc_channel_t channel);
33 void adc_io_normal(adc_unit_t adc_unit, adc_channel_t channel);
/hal_espressif-2.7.6/components/driver/esp32s3/include/driver/
Dadc.h42 esp_err_t adc_arbiter_config(adc_unit_t adc_unit, adc_arbiter_t *config);
183 esp_err_t adc_digi_intr_enable(adc_unit_t adc_unit, adc_digi_intr_t intr_mask);
194 esp_err_t adc_digi_intr_disable(adc_unit_t adc_unit, adc_digi_intr_t intr_mask);
205 esp_err_t adc_digi_intr_clear(adc_unit_t adc_unit, adc_digi_intr_t intr_mask);
214 uint32_t adc_digi_intr_get_status(adc_unit_t adc_unit);
/hal_espressif-2.7.6/components/driver/include/driver/
Dadc_common.h187 esp_err_t adc_gpio_init(adc_unit_t adc_unit, adc_channel_t channel);
296 esp_err_t adc_set_data_inv(adc_unit_t adc_unit, bool inv_en);
316 esp_err_t adc_set_data_width(adc_unit_t adc_unit, adc_bits_width_t width_bit);
437 esp_err_t adc_vref_to_gpio(adc_unit_t adc_unit, gpio_num_t gpio);
Di2s.h309 esp_err_t i2s_set_adc_mode(adc_unit_t adc_unit, adc1_channel_t adc_channel);
/hal_espressif-2.7.6/components/esp_adc_cal/include/
Desp_adc_cal.h43 adc_unit_t adc_num; /**< ADC number*/
94 esp_adc_cal_value_t esp_adc_cal_characterize(adc_unit_t adc_num,
/hal_espressif-2.7.6/components/driver/esp32s2/
Dadc.c136 esp_err_t adc_arbiter_config(adc_unit_t adc_unit, adc_arbiter_t *config) in adc_arbiter_config()
163 esp_err_t adc_set_controller(adc_unit_t adc_unit, adc_ll_controller_t ctrl) in adc_set_controller()
354 esp_err_t adc_digi_intr_enable(adc_unit_t adc_unit, adc_digi_intr_t intr_mask) in adc_digi_intr_enable()
367 esp_err_t adc_digi_intr_disable(adc_unit_t adc_unit, adc_digi_intr_t intr_mask) in adc_digi_intr_disable()
380 esp_err_t adc_digi_intr_clear(adc_unit_t adc_unit, adc_digi_intr_t intr_mask) in adc_digi_intr_clear()
393 uint32_t adc_digi_intr_get_status(adc_unit_t adc_unit) in adc_digi_intr_get_status()
/hal_espressif-2.7.6/components/esp_adc_cal/
Desp_adc_cal_esp32s2.c53 adc_unit_t adc_num;
61 static bool prepare_calib_data_for(adc_unit_t adc_num, adc_atten_t atten, adc_calib_parsed_info *pa… in prepare_calib_data_for()
118 static void characterize_using_two_point(adc_unit_t adc_num, in characterize_using_two_point()
174 esp_adc_cal_value_t esp_adc_cal_characterize(adc_unit_t adc_num, in esp_adc_cal_characterize()
Desp_adc_cal_esp32c3.c51 adc_unit_t adc_num;
58 static esp_err_t prepare_calib_data_for(int version_num, adc_unit_t adc_num, adc_atten_t atten, adc… in prepare_calib_data_for()
104 esp_adc_cal_value_t esp_adc_cal_characterize(adc_unit_t adc_num, in esp_adc_cal_characterize()
Desp_adc_cal_esp32.c162 static uint32_t read_efuse_tp_low(adc_unit_t adc_num) in read_efuse_tp_low()
179 static uint32_t read_efuse_tp_high(adc_unit_t adc_num) in read_efuse_tp_high()
197 static void characterize_using_two_point(adc_unit_t adc_num, in characterize_using_two_point()
223 static void characterize_using_vref(adc_unit_t adc_num, in characterize_using_vref()
296 esp_adc_cal_value_t esp_adc_cal_characterize(adc_unit_t adc_num, in esp_adc_cal_characterize()
/hal_espressif-2.7.6/components/hal/include/hal/
Dadc_types.h33 } adc_unit_t; typedef
384 adc_unit_t adc_unit; /*!<Set adc unit number for filter.
428 adc_unit_t adc_unit; /*!<Set adc unit number for monitor.
/hal_espressif-2.7.6/components/driver/test/adc_dma_test/
Dtest_esp32s2.c146 static uint32_t adc_dma_linker_init(adc_unit_t adc, bool is_loop) in adc_dma_linker_init()
179 static esp_err_t adc_dma_data_check(adc_unit_t adc, int ideal_level) in adc_dma_data_check()
249 static esp_err_t adc_dma_data_multi_st_check(adc_unit_t adc, void *dma_addr, uint32_t int_mask) in adc_dma_data_multi_st_check()
328 static esp_err_t adc_check_patt_table(adc_unit_t adc, uint32_t in_partten_len, adc_channel_t in_las… in adc_check_patt_table()
372 int test_adc_dig_dma_single_unit(adc_unit_t adc) in test_adc_dig_dma_single_unit()
480 int test_adc_dig_scope_debug_unit(adc_unit_t adc) in test_adc_dig_scope_debug_unit()
609 adc_unit_t adc = ADC_CONV_BOTH_UNIT;
/hal_espressif-2.7.6/components/driver/
Dadc_common.c246 static void adc_rtc_chan_init(adc_unit_t adc_unit) in adc_rtc_chan_init()
266 esp_err_t adc_gpio_init(adc_unit_t adc_unit, adc_channel_t channel) in adc_gpio_init()
290 esp_err_t adc_set_data_inv(adc_unit_t adc_unit, bool inv_en) in adc_set_data_inv()
306 esp_err_t adc_set_data_width(adc_unit_t adc_unit, adc_bits_width_t bits) in adc_set_data_width()
625 esp_err_t adc_vref_to_gpio(adc_unit_t adc_unit, gpio_num_t gpio) in adc_vref_to_gpio()
Di2s.c738 esp_err_t i2s_set_adc_mode(adc_unit_t adc_unit, adc1_channel_t adc_channel) in i2s_set_adc_mode()
/hal_espressif-2.7.6/components/driver/esp32/include/driver/
Dadc.h43 esp_err_t adc_i2s_mode_init(adc_unit_t adc_unit, adc_channel_t channel);
/hal_espressif-2.7.6/components/driver/test/
Dtest_adc_common.c66 void adc_fake_tie_middle(adc_unit_t adc_unit, adc_channel_t channel) in adc_fake_tie_middle()
88 void adc_fake_tie_high(adc_unit_t adc_unit, adc_channel_t channel) in adc_fake_tie_high()
112 void adc_fake_tie_low(adc_unit_t adc_unit, adc_channel_t channel) in adc_fake_tie_low()
136 void adc_io_normal(adc_unit_t adc_unit, adc_channel_t channel) in adc_io_normal()
/hal_espressif-2.7.6/examples/peripherals/adc/single_read/adc/main/
Dadc1_example_main.c29 static const adc_unit_t unit = ADC_UNIT_1;
/hal_espressif-2.7.6/components/driver/esp32/
Dadc.c85 esp_err_t adc_i2s_mode_init(adc_unit_t adc_unit, adc_channel_t channel) in adc_i2s_mode_init()
/hal_espressif-2.7.6/components/driver/esp32c3/
Dadc.c114 static esp_err_t adc_digi_gpio_init(adc_unit_t adc_unit, uint16_t channel_mask) in adc_digi_gpio_init()
439 esp_err_t adc_vref_to_gpio(adc_unit_t adc_unit, gpio_num_t gpio) in adc_vref_to_gpio()