Searched refs:voltage_values (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/ |
D | main.c | 228 struct sensor_value voltage_values[2]; in ZTEST_F() local 230 zassert_ok(sensor_channel_get(fixture->dev, SENSOR_CHAN_VOLTAGE, voltage_values)); in ZTEST_F() 232 float test_value = voltage_values[0].val1 + (float)voltage_values[0].val2 / 1000000; in ZTEST_F() 237 test_value = voltage_values[1].val1 + (float)voltage_values[1].val2 / 1000000; in ZTEST_F() 446 struct sensor_value voltage_values[5]; in ZTEST_F() local 450 CHECK_SINGLE_ENDED_VOLTAGE(voltage_values, 0, 5.0f, in ZTEST_F() 454 CHECK_SINGLE_ENDED_VOLTAGE(voltage_values, 1, 3.5f, in ZTEST_F() 458 CHECK_SINGLE_ENDED_VOLTAGE(voltage_values, 2, 2.5f, in ZTEST_F() 462 CHECK_SINGLE_ENDED_VOLTAGE(voltage_values, 3, -0.3f, in ZTEST_F() 466 double test_value = voltage_values[4].val1 + (double)voltage_values[4].val2 / 1000000; in ZTEST_F() [all …]
|