Home
last modified time | relevance | path

Searched full:adc_channel_setup (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/tests/drivers/adc/adc_error_cases/src/
Dadc_error_cases.c46 adc_channel_setup(dev_adc, &valid_channel_cfg); in ZTEST()
72 adc_channel_setup(dev_adc, &valid_channel_cfg); in ZTEST()
98 adc_channel_setup(dev_adc, &valid_channel_cfg); in ZTEST()
124 adc_channel_setup(dev_adc, &valid_channel_cfg); in ZTEST()
150 adc_channel_setup(dev_adc, &valid_channel_cfg); in ZTEST()
167 * @brief test adc_channel_setup() with invalid reference value
180 ret = adc_channel_setup(dev_adc, &invalid_channel_cfg); in ZTEST()
184 "adc_channel_setup() should return -EINVAL," in ZTEST()
203 ret = adc_channel_setup(dev_adc, &invalid_channel_cfg); in ZTEST()
206 "adc_channel_setup() should return -EINVAL," in ZTEST()
/Zephyr-latest/drivers/adc/
Dadc_shell.c178 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_ch_id()
205 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_ch_diff()
229 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_ch_neg()
256 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_ch_pos()
283 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_gain()
320 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_acq()
342 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_reso()
366 retval = adc_channel_setup(adc->dev, &adc->channel_config); in cmd_adc_ref()
Dadc_nrfx_adc.c46 /* Implementation of the ADC driver API function: adc_channel_setup. */
Dadc_smartbond_gpadc.c57 /* Implementation of the ADC driver API function: adc_channel_setup. */
Dadc_smartbond_sdadc.c53 /* Implementation of the ADC driver API function: adc_channel_setup. */
Dadc_nrfx_saadc.c171 /* Implementation of the ADC driver API function: adc_channel_setup. */
/Zephyr-latest/dts/bindings/adc/
Despressif,esp32-adc.yaml26 In case unsupported gain is selected the adc_channel_setup()
/Zephyr-latest/drivers/sensor/lm35/
Dlm35.c82 adc_channel_setup(cfg->adc, &cfg->ch_cfg); in lm35_init()
/Zephyr-latest/drivers/sensor/seeed/grove/
Dlight_sensor.c111 adc_channel_setup(cfg->adc, &drv_data->ch_cfg); in gls_init()
Dtemperature_sensor.c113 adc_channel_setup(cfg->adc, &drv_data->ch_cfg); in gts_init()
/Zephyr-latest/samples/drivers/adc/adc_sequence/src/
Dmain.c58 err = adc_channel_setup(adc, &channel_cfgs[i]);
/Zephyr-latest/drivers/sensor/rpi_pico_temp/
Drpi_pico_temp.c41 rc = adc_channel_setup(cfg->adc, &cfg->ch_cfg); in rpi_pico_temp_sample_fetch()
/Zephyr-latest/include/zephyr/drivers/
Dadc.h618 * All selected channels must be configured with adc_channel_setup()
676 * See adc_channel_setup() for argument descriptions.
723 __syscall int adc_channel_setup(const struct device *dev,
737 * @return A value from adc_channel_setup() or -ENOTSUP if information from
739 * @see adc_channel_setup()
747 return adc_channel_setup(spec->dev, &spec->channel_cfg); in adc_channel_setup_dt()
/Zephyr-latest/drivers/sensor/st/stm32_vbat/
Dstm32_vbat.c51 rc = adc_channel_setup(data->adc, &data->adc_cfg); in stm32_vbat_sample_fetch()
/Zephyr-latest/drivers/sensor/st/stm32_vref/
Dstm32_vref.c51 rc = adc_channel_setup(data->adc, &data->adc_cfg); in stm32_vref_sample_fetch()
/Zephyr-latest/drivers/sensor/nxp/nxp_kinetis_temp/
Dtemp_kinetis.c170 err = adc_channel_setup(config->adc, &ch_cfg[i]); in temp_kinetis_init()
/Zephyr-latest/samples/boards/nordic/battery/src/
Dbattery.c137 rc = adc_channel_setup(ddp->adc, accp); in divider_setup()
/Zephyr-latest/tests/drivers/dac/dac_loopback/src/
Dtest_dac.c214 ret = adc_channel_setup(adc_dev, &adc_ch_cfg); in init_adc()
/Zephyr-latest/tests/drivers/adc/adc_emul/src/
Dmain.c63 ret = adc_channel_setup(adc_dev, &channel_cfg); in channel_setup()
638 ret = adc_channel_setup(adc_dev, &channel_cfg); in ZTEST_USER()
/Zephyr-latest/drivers/sensor/st/stm32_temp/
Dstm32_temp.c223 rc = adc_channel_setup(data->adc, &data->adc_cfg); in stm32_temp_sample_fetch()
/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/
Dvcmp_ite_it8xxx2.c294 adc_channel_setup(config->adc, &data->adc_ch_cfg); in vcmp_it8xxx2_init()