Searched full:adc_channel_setup (Results 1 – 21 of 21) sorted by relevance
/Zephyr-latest/tests/drivers/adc/adc_error_cases/src/ |
D | adc_error_cases.c | 46 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/ |
D | adc_shell.c | 178 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()
|
D | adc_nrfx_adc.c | 46 /* Implementation of the ADC driver API function: adc_channel_setup. */
|
D | adc_smartbond_gpadc.c | 57 /* Implementation of the ADC driver API function: adc_channel_setup. */
|
D | adc_smartbond_sdadc.c | 53 /* Implementation of the ADC driver API function: adc_channel_setup. */
|
D | adc_nrfx_saadc.c | 171 /* Implementation of the ADC driver API function: adc_channel_setup. */
|
/Zephyr-latest/dts/bindings/adc/ |
D | espressif,esp32-adc.yaml | 26 In case unsupported gain is selected the adc_channel_setup()
|
/Zephyr-latest/drivers/sensor/lm35/ |
D | lm35.c | 82 adc_channel_setup(cfg->adc, &cfg->ch_cfg); in lm35_init()
|
/Zephyr-latest/drivers/sensor/seeed/grove/ |
D | light_sensor.c | 111 adc_channel_setup(cfg->adc, &drv_data->ch_cfg); in gls_init()
|
D | temperature_sensor.c | 113 adc_channel_setup(cfg->adc, &drv_data->ch_cfg); in gts_init()
|
/Zephyr-latest/samples/drivers/adc/adc_sequence/src/ |
D | main.c | 58 err = adc_channel_setup(adc, &channel_cfgs[i]);
|
/Zephyr-latest/drivers/sensor/rpi_pico_temp/ |
D | rpi_pico_temp.c | 41 rc = adc_channel_setup(cfg->adc, &cfg->ch_cfg); in rpi_pico_temp_sample_fetch()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | adc.h | 618 * 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/ |
D | stm32_vbat.c | 51 rc = adc_channel_setup(data->adc, &data->adc_cfg); in stm32_vbat_sample_fetch()
|
/Zephyr-latest/drivers/sensor/st/stm32_vref/ |
D | stm32_vref.c | 51 rc = adc_channel_setup(data->adc, &data->adc_cfg); in stm32_vref_sample_fetch()
|
/Zephyr-latest/drivers/sensor/nxp/nxp_kinetis_temp/ |
D | temp_kinetis.c | 170 err = adc_channel_setup(config->adc, &ch_cfg[i]); in temp_kinetis_init()
|
/Zephyr-latest/samples/boards/nordic/battery/src/ |
D | battery.c | 137 rc = adc_channel_setup(ddp->adc, accp); in divider_setup()
|
/Zephyr-latest/tests/drivers/dac/dac_loopback/src/ |
D | test_dac.c | 214 ret = adc_channel_setup(adc_dev, &adc_ch_cfg); in init_adc()
|
/Zephyr-latest/tests/drivers/adc/adc_emul/src/ |
D | main.c | 63 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/ |
D | stm32_temp.c | 223 rc = adc_channel_setup(data->adc, &data->adc_cfg); in stm32_temp_sample_fetch()
|
/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/ |
D | vcmp_ite_it8xxx2.c | 294 adc_channel_setup(config->adc, &data->adc_ch_cfg); in vcmp_it8xxx2_init()
|