Lines Matching full:readings
107 /* wait for some readings*/ in qenc_emulate_verify_reading()
128 /* wait and get readings to clear state */ in qenc_emulate_verify_reading()
232 zassert_true(val.val1 != 0, "No readings from QDEC"); in ZTEST()
274 * @brief QDEC readings tests
311 /* wait for potential new readings */ in ZTEST()
317 /* get readings but ignore them, as they may include reading from time in ZTEST()
323 /* wait for potential new readings */ in ZTEST()
329 /* emulation was not working, expect no readings */ in ZTEST()
332 zassert_true(val.val1 == 0, "Expected no readings but got: %d", val.val1); in ZTEST()
333 zassert_true(val.val2 == 0, "Expected no readings but got: %d", val.val2); in ZTEST()
343 * Confirm getting readings from QDEC
358 /* wait for some readings*/ in ZTEST()
366 zassert_true(val_first.val1 != 0, "No readings from QDEC"); in ZTEST()
368 /* wait for more readings*/ in ZTEST()
373 zassert_true(val_second.val1 != 0, "No readings from QDEC"); in ZTEST()
379 "Expected the same readings: %d vs %d", in ZTEST()
384 "Expected the same readings: %d vs %d", in ZTEST()
396 * Confirm getting readings from QDEC with invalid channel
410 /* wait for some readings*/ in ZTEST()
418 zassert_true(val.val1 == 0, "Some readings from QDEC: %d", val.val1); in ZTEST()
419 zassert_true(val.val2 == 0, "Some readings from QDEC: %d", val.val2); in ZTEST()