Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/dac/dac_loopback/src/
Dtest_dac.c51 #define ADC_RESOLUTION 12 macro
74 #define ADC_RESOLUTION 12 macro
92 #define ADC_RESOLUTION 12 macro
107 #define ADC_RESOLUTION 12 macro
122 #define ADC_RESOLUTION 12 macro
137 #define ADC_RESOLUTION 12 macro
161 #define ADC_RESOLUTION 12 macro
247 .resolution = ADC_RESOLUTION, in test_task_loopback()
253 (1U << ADC_RESOLUTION) / 2, 32, in test_task_loopback()
/Zephyr-latest/soc/ene/kb1200/reg/
Dadc.h22 #define ADC_RESOLUTION 10 /* Unit:bits */ macro
/Zephyr-latest/tests/drivers/adc/adc_emul/src/
Dmain.c15 #define ADC_RESOLUTION 14 macro
94 ret = adc_raw_to_millivolts(ref_mv, gain, ADC_RESOLUTION, in check_samples()
153 .resolution = ADC_RESOLUTION, in start_adc_read()
229 const uint16_t input_raw_value = (1 << ADC_RESOLUTION) / 2; in ZTEST_USER()
260 const uint16_t input_raw_value = (1 << ADC_RESOLUTION) / 4; in ZTEST_USER()
372 const uint16_t input_mV = (raw_value * ADC_REF_INTERNAL_MV / BIT(ADC_RESOLUTION)); in ZTEST_USER()
396 (SEQUENCE_STEP * ADC_REF_INTERNAL_MV / BIT(ADC_RESOLUTION)), 1 /* channels */, in ZTEST_USER()
604 zassert_equal(BIT_MASK(ADC_RESOLUTION), m_sample_buffer[i], in ZTEST_USER()
/Zephyr-latest/drivers/adc/
Dadc_tla202x.c29 #define ADC_RESOLUTION 12 macro
245 if (seq->resolution != ADC_RESOLUTION) { in tla202x_start_read()
Dadc_ene_kb1200.c80 if (sequence->resolution != ADC_RESOLUTION) { in adc_kb1200_start_read()