Searched refs:chan_elements (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/sensor/generic/src/ |
D | main.c | 31 static struct channel_sequence chan_elements[] = { variable 61 #define TOTAL_CHAN_ELEMENTS (sizeof(chan_elements) / \ 115 zassert_equal(sensor_sample_fetch_chan(dev, chan_elements[0].chan), in ZTEST() 118 zassert_equal(sensor_channel_get(dev, chan_elements[0].chan, in ZTEST() 120 zassert_equal(data.val1, chan_elements[0].data.val1, in ZTEST() 122 zassert_equal(data.val2, chan_elements[0].data.val2, in ZTEST() 130 zassert_equal(sensor_channel_get(dev, chan_elements[i].chan, in ZTEST() 132 zassert_equal(data.val1, chan_elements[i].data.val1, in ZTEST() 134 zassert_equal(data.val2, chan_elements[i].data.val2, in ZTEST()
|