Lines Matching refs:sensor_val
16 #define CHECK_SINGLE_ENDED_VOLTAGE(sensor_val, index, pin_voltage, r1, r2) \ argument
18 zassert_ok(sensor_channel_get(fixture->dev, SENSOR_CHAN_VOLTAGE, sensor_val)); \
20 sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000, \
25 (double)(sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000), \
30 #define CHECK_CURRENT(sensor_val, index, pin_voltage, r_microohms) \ argument
32 zassert_ok(sensor_channel_get(fixture->dev, SENSOR_CHAN_CURRENT, sensor_val)); \
34 sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000, \
39 (double)(sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000), \
46 #define CHECK_TEMPERATURE(sensor_val, index, expected_temperature, temperature_type) \ argument
48 zassert_ok(sensor_channel_get(fixture->dev, temperature_type, sensor_val)); \
50 sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000, \
52 (double)(sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000));