Searched refs:adc_dev (Results 1 – 3 of 3) sorted by relevance
| /tests/drivers/adc/adc_emul/src/ |
| A D | main.c | 39 return adc_dev; in get_adc_device() 63 ret = adc_channel_setup(adc_dev, &channel_cfg); in channel_setup() 156 ret = adc_read(adc_dev, &sequence); in start_adc_read() 207 const struct device *adc_dev = get_adc_device(); in ZTEST_USER() local 239 const struct device *adc_dev = get_adc_device(); in ZTEST_USER() local 270 const struct device *adc_dev = get_adc_device(); in ZTEST_USER() local 302 const struct device *adc_dev = get_adc_device(); in ZTEST_USER() local 344 const struct device *adc_dev = get_adc_device(); in ZTEST_USER() local 533 start_adc_read(adc_dev, channel_mask, samples); in ZTEST_USER() 552 start_adc_read(adc_dev, channel_mask, samples); in ZTEST_USER() [all …]
|
| /tests/drivers/dac/dac_loopback/src/ |
| A D | test_dac.c | 252 const struct device *const adc_dev = DEVICE_DT_GET(ADC_DEVICE_NODE); in init_adc() local 254 zassert_true(device_is_ready(adc_dev), "ADC device is not ready"); in init_adc() 256 ret = adc_channel_setup(adc_dev, &adc_ch_cfg); in init_adc() 259 return adc_dev; in init_adc() 270 const struct device *adc_dev = init_adc(); in test_task_loopback() local 272 if (!dac_dev || !adc_dev) { in test_task_loopback() 292 ret = adc_read(adc_dev, &sequence); in test_task_loopback()
|
| /tests/drivers/adc/adc_rescale/src/ |
| A D | main.c | 30 const struct device *const adc_dev = DEVICE_DT_GET(DT_NODELABEL(adc0)); in get_adc_device() local 32 zassert_true(device_is_ready(adc_dev), "ADC device is not ready"); in get_adc_device() 34 return adc_dev; in get_adc_device()
|
Completed in 11 milliseconds