Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/regulator/voltage/src/
Dmain.c23 static const struct adc_dt_spec adc_chs[] = { variable
51 ret = adc_sequence_init_dt(&adc_chs[i], &sequence); in ZTEST()
86 ret = adc_read_dt(&adc_chs[i], &sequence); in ZTEST()
94 ret = adc_raw_to_millivolts_dt(&adc_chs[i], &val_mv); in ZTEST()
112 zassert_equal(ARRAY_SIZE(regs), ARRAY_SIZE(adc_chs)); in setup()
117 zassert_true(adc_is_ready_dt(&adc_chs[i])); in setup()
118 zassert_equal(adc_channel_setup_dt(&adc_chs[i]), 0); in setup()