Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/adc/adc_emul/src/
Dmain.c84 static void check_samples(int expected_count, int32_t start_mv_value, int step, in check_samples() function
220 check_samples(samples, input_mv, 0 /* step */, 1 /* channels */, 0 /* first channel data */, in ZTEST_USER()
251 check_samples(samples, input_mv, 0 /* step */, 1 /* channels */, 0 /* first channel data */, in ZTEST_USER()
282 check_samples(samples, input_mv, 0 /* step */, 1 /* channels */, in ZTEST_USER()
321 check_samples(samples * 2, input1_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
324 check_samples(samples * 2, input2_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
360 check_samples(samples, input_mv, SEQUENCE_STEP, 1 /* channels */, in ZTEST_USER()
395 check_samples(samples, input_mV, in ZTEST_USER()
444 check_samples(samples * 2, input1_mv, SEQUENCE_STEP, in ZTEST_USER()
447 check_samples(samples * 2, input2_mv, SEQUENCE_STEP, in ZTEST_USER()
[all …]
/Zephyr-latest/tests/drivers/adc/adc_api/src/
Dtest_adc.c99 static void check_samples(int expected_count) in check_samples() function
136 check_samples(1); in test_task_one_channel()
170 check_samples(adc_channels_count); in test_task_multiple_channels()
217 check_samples(1 + options.extra_samplings); in test_task_asynchronous_call()
280 check_samples(1 + options.extra_samplings); in test_task_with_interval()
301 check_samples(MIN(adc_channels_count, 2)); in repeated_samplings_callback()
306 check_samples(2 * MIN(adc_channels_count, 2)); in repeated_samplings_callback()
395 check_samples(1); in test_task_invalid_request()