/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/ |
D | main.c | 63 odr_attr.val1 = 208; in main()
|
/Zephyr-latest/drivers/sensor/ti/tmag5170/ |
D | tmag5170.c | 252 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/ |
D | opt3001.c | 104 val->val1 = uval / 100; in opt3001_channel_get()
|
/Zephyr-latest/samples/sensor/lsm6dsl/src/ |
D | main.c | 106 odr_attr.val1 = 104; in main()
|
/Zephyr-latest/tests/drivers/sensor/hc-sr04/src/ |
D | main.c | 27 zassert_equal(value.val1, value1, "incorrect measurement for value.val1"); \
|
/Zephyr-latest/drivers/sensor/lm77/ |
D | lm77.c | 105 *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/ |
D | ds18b20.c | 91 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/ |
D | lis2du12.c | 175 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/ |
D | lsm9ds1.c | 325 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/ |
D | current_amp.c | 68 val->val1 = i_ma / 1000; in get()
|
/Zephyr-latest/drivers/sensor/f75303/ |
D | f75303.c | 140 val->val1 = sample >> F75303_SAMPLE_INT_SHIFT; in f75303_channel_get()
|
/Zephyr-latest/drivers/sensor/st/qdec_stm32/ |
D | qdec_stm32.c | 70 val->val1 = dev_data->position; in qdec_stm32_get()
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670_apex.c | 114 val->val1 = conv_val / 1000000; in icm42670_apex_pedometer_cadence_convert()
|
/Zephyr-latest/drivers/sensor/asahi_kasei/ak8975/ |
D | ak8975.c | 57 val->val1 = conv_val / 1000000; in ak8975_convert()
|
/Zephyr-latest/drivers/clock_control/ |
D | nrf_clock_calibration.c | 183 return (int16_t)(4 * val->val1 + val->val2 / 250000); in sensor_value_to_temp_unit()
|
/Zephyr-latest/drivers/sensor/honeywell/hmc5883l/ |
D | hmc5883l.c | 25 val->val1 = raw_val / divider; in hmc5883l_convert()
|
/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso_shub.c | 112 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/ |
D | si7210.c | 393 val->val1 = tmp / 1000000; in si7210_channel_get() 414 val->val1 = tmp / 1000000; in si7210_channel_get()
|
/Zephyr-latest/drivers/sensor/jedec/jc42/ |
D | jc42_trigger.c | 46 temp = val->val1 * JC42_TEMP_SCALE_CEL; in jc42_attr_set()
|
/Zephyr-latest/drivers/sensor/a01nyub/ |
D | a01nyub.c | 101 val->val1 = (uint32_t) (data->data / (uint16_t) 1000); in a01nyub_channel_get()
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 292 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/ |
D | iis2iclx_shub.c | 128 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/ |
D | ism330dhcx_shub.c | 124 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/ |
D | isl29035_trigger.c | 50 raw_val = (((uint64_t)val->val1) << ISL29035_ADC_DATA_BITS) + in isl29035_lux_processed_to_raw()
|
/Zephyr-latest/drivers/sensor/rohm/bh1750/ |
D | bh1750.c | 184 val->val1 = tmp / 10000; in bh1750_channel_get()
|