Searched refs:ADC_1ST_CHANNEL_ID (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/adc/adc_emul/src/ |
D | main.c | 17 #define ADC_1ST_CHANNEL_ID 0 macro 210 ADC_1ST_CHANNEL_ID); in ZTEST_USER() 213 ret = adc_emul_const_value_set(adc_dev, ADC_1ST_CHANNEL_ID, input_mv); in ZTEST_USER() 217 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER() 241 channel_setup(adc_dev, ADC_REF_INTERNAL, ADC_GAIN_1, ADC_1ST_CHANNEL_ID); in ZTEST_USER() 244 ret = adc_emul_const_raw_value_set(adc_dev, ADC_1ST_CHANNEL_ID, input_raw_value); in ZTEST_USER() 248 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER() 272 channel_setup(adc_dev, ADC_REF_INTERNAL, ADC_GAIN_1, ADC_1ST_CHANNEL_ID); in ZTEST_USER() 275 ret = adc_emul_const_raw_value_set(adc_dev, ADC_1ST_CHANNEL_ID, input_raw_value); in ZTEST_USER() 279 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER() [all …]
|