Home
last modified time | relevance | path

Searched refs:val1 (Results 251 – 275 of 304) sorted by relevance

1...<<111213

/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/
Dmain.c63 odr_attr.val1 = 208; in main()
/Zephyr-latest/drivers/sensor/ti/tmag5170/
Dtmag5170.c252 output->val1 = result / 100000; in tmag5170_convert_magn_reading_to_gauss()
265 output->val1 = result / 100000; in tmag5170_convert_temp_reading_to_celsius()
275 output->val1 = chan_reading >> 4; in tmag5170_covert_angle_reading_to_degrees()
/Zephyr-latest/drivers/sensor/ti/opt3001/
Dopt3001.c104 val->val1 = uval / 100; in opt3001_channel_get()
/Zephyr-latest/samples/sensor/lsm6dsl/src/
Dmain.c106 odr_attr.val1 = 104; in main()
/Zephyr-latest/tests/drivers/sensor/hc-sr04/src/
Dmain.c27 zassert_equal(value.val1, value1, "incorrect measurement for value.val1"); \
/Zephyr-latest/drivers/sensor/lm77/
Dlm77.c105 *temp = val->val1 << 1; in lm77_sensor_value_to_temp()
120 val->val1 = temp / 10; in lm77_temp_to_sensor_value()
/Zephyr-latest/drivers/sensor/maxim/ds18b20/
Dds18b20.c91 val->val1 = temp / 2; in ds18b20_temperature_from_raw()
94 val->val1 = temp / 16; in ds18b20_temperature_from_raw()
/Zephyr-latest/drivers/sensor/st/lis2du12/
Dlis2du12.c175 return lis2du12_accel_odr_set(dev, val->val1); in lis2du12_accel_config()
246 val->val1 = (int32_t)(dval / 1000000); in lis2du12_accel_convert()
/Zephyr-latest/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.c325 return lsm9ds1_accel_odr_set(dev, val->val1); in lsm9ds1_accel_config()
341 return lsm9ds1_gyro_odr_set(dev, val->val1); in lsm9ds1_gyro_config()
525 val->val1 = data->temp_sample / TEMP_SENSITIVITY + TEMP_OFFSET; in lsm9ds1_temp_channel_get()
/Zephyr-latest/drivers/sensor/current_amp/
Dcurrent_amp.c68 val->val1 = i_ma / 1000; in get()
/Zephyr-latest/drivers/sensor/f75303/
Df75303.c140 val->val1 = sample >> F75303_SAMPLE_INT_SHIFT; in f75303_channel_get()
/Zephyr-latest/drivers/sensor/st/qdec_stm32/
Dqdec_stm32.c70 val->val1 = dev_data->position; in qdec_stm32_get()
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670_apex.c114 val->val1 = conv_val / 1000000; in icm42670_apex_pedometer_cadence_convert()
/Zephyr-latest/drivers/sensor/asahi_kasei/ak8975/
Dak8975.c57 val->val1 = conv_val / 1000000; in ak8975_convert()
/Zephyr-latest/drivers/clock_control/
Dnrf_clock_calibration.c183 return (int16_t)(4 * val->val1 + val->val2 / 250000); in sensor_value_to_temp_unit()
/Zephyr-latest/drivers/sensor/honeywell/hmc5883l/
Dhmc5883l.c25 val->val1 = raw_val / divider; in hmc5883l_convert()
/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso_shub.c112 return lsm6dso_lis2mdl_odr_set(dev, i2c_addr, val->val1); in lsm6dso_lis2mdl_conf()
208 return lsm6dso_hts221_odr_set(dev, i2c_addr, val->val1); in lsm6dso_hts221_conf()
321 return lsm6dso_lps22hh_odr_set(dev, i2c_addr, val->val1); in lsm6dso_lps22hh_conf()
/Zephyr-latest/drivers/sensor/silabs/si7210/
Dsi7210.c393 val->val1 = tmp / 1000000; in si7210_channel_get()
414 val->val1 = tmp / 1000000; in si7210_channel_get()
/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42_trigger.c46 temp = val->val1 * JC42_TEMP_SCALE_CEL; in jc42_attr_set()
/Zephyr-latest/drivers/sensor/a01nyub/
Da01nyub.c101 val->val1 = (uint32_t) (data->data / (uint16_t) 1000); in a01nyub_channel_get()
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c292 out->val1 = (int32_t)value; in parse_sensor_value()
1020 stats[i].accumulator += value.val1 * INT64_C(1000000) + value.val2; in data_ready_trigger_handler()
1027 value.val1 = micro_value / 1000000; in data_ready_trigger_handler()
1028 value.val2 = (int32_t)llabs(micro_value - (value.val1 * 1000000)); in data_ready_trigger_handler()
1033 value.val1, value.val2); in data_ready_trigger_handler()
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx_shub.c128 return iis2iclx_lis2mdl_odr_set(dev, i2c_addr, val->val1); in iis2iclx_lis2mdl_conf()
224 return iis2iclx_hts221_odr_set(dev, i2c_addr, val->val1); in iis2iclx_hts221_conf()
337 return iis2iclx_lps22hh_odr_set(data, i2c_addr, val->val1); in iis2iclx_lps22hh_conf()
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx_shub.c124 return ism330dhcx_lis2mdl_odr_set(dev, i2c_addr, val->val1); in ism330dhcx_lis2mdl_conf()
214 return ism330dhcx_hts221_odr_set(dev, i2c_addr, val->val1); in ism330dhcx_hts221_conf()
319 return ism330dhcx_lps22hh_odr_set(dev, i2c_addr, val->val1); in ism330dhcx_lps22hh_conf()
/Zephyr-latest/drivers/sensor/renesas/isl29035/
Disl29035_trigger.c50 raw_val = (((uint64_t)val->val1) << ISL29035_ADC_DATA_BITS) + in isl29035_lux_processed_to_raw()
/Zephyr-latest/drivers/sensor/rohm/bh1750/
Dbh1750.c184 val->val1 = tmp / 10000; in bh1750_channel_get()

1...<<111213