Lines Matching refs:ADC_NUM_2
211 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc2_pad_get_io_num()
213 int io = ADC_GET_IO_NUM(ADC_NUM_2, channel); in adc2_pad_get_io_num()
261 adc_hal_rtc_output_invert(ADC_NUM_2, SOC_ADC2_DATA_INVERT_DEFAULT); in adc_rtc_chan_init()
262 adc_ll_set_sar_clk_div(ADC_NUM_2, SOC_ADC_SAR_CLK_DIV_DEFAULT(ADC_NUM_2)); in adc_rtc_chan_init()
284 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc_common_gpio_init()
285 gpio_num = ADC_GET_IO_NUM(ADC_NUM_2, channel); in adc_common_gpio_init()
304 adc_hal_rtc_output_invert(ADC_NUM_2, inv_en); in adc_set_data_inv()
326 adc_hal_rtc_set_output_format(ADC_NUM_2, width_bit); in adc_set_data_width()
501 ADC_CHANNEL_CHECK(ADC_NUM_2, channel); in adc2_config_channel_atten()
514 adc_hal_set_atten(ADC_NUM_2, channel, atten); in adc2_config_channel_atten()
520 adc_hal_calibration_init(ADC_NUM_2); in adc2_config_channel_atten()
578 uint32_t cal_val = get_calibration_offset(ADC_NUM_2, channel); in adc2_get_raw()
579 adc_hal_set_calibration_param(ADC_NUM_2, cal_val); in adc2_get_raw()
600 adc_hal_rtc_set_output_format(ADC_NUM_2, width_bit); in adc2_get_raw()
603 adc_ll_set_controller(ADC_NUM_2, ADC_LL_CTRL_RTC);// set controller in adc2_get_raw()
605 adc_ll_set_controller(ADC_NUM_2, ADC_LL_CTRL_ARB);// set controller in adc2_get_raw()
616 ret = adc_hal_convert(ADC_NUM_2, channel, &adc_value); in adc2_get_raw()
653 if (gpio == ADC_GET_IO_NUM(ADC_NUM_2, i)) { in adc_vref_to_gpio()
669 adc_hal_vref_output(ADC_NUM_2, ch, true); in adc_vref_to_gpio()