/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso.c | 495 val->val2 = (data->temp_sample % 256) * (1000000 / 256); in lsm6dso_gyro_channel_get_temp() 508 val->val2 = (int32_t)dval % 1000000; in lsm6dso_magn_convert() 577 val->val2 = rh * 1000000; in lsm6dso_hum_convert() 599 val->val2 = (raw_val >> 12) % 10 * 100000 + in lsm6dso_press_convert() 620 val->val2 = (int32_t)raw_val % 100 * (10000); in lsm6dso_temp_convert()
|
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is.c | 528 val->val2 = micro_c % 1000000; in lsm6dso16is_gyro_channel_get_temp() 541 val->val2 = (int32_t)dval % 1000000; in lsm6dso16is_magn_convert() 610 val->val2 = rh * 1000000; in lsm6dso16is_hum_convert() 632 val->val2 = (raw_val >> 12) % 10 * 100000 + in lsm6dso16is_press_convert() 653 val->val2 = (int32_t)raw_val % 100 * (10000); in lsm6dso16is_temp_convert()
|
/Zephyr-latest/drivers/sensor/ti/tmag5273/ |
D | tmag5273.c | 304 val->val2 = 0; in tmag5273_attr_get_xyz_meas_range() 401 val->val2 = 0; in tmag5273_attr_get_xyz_calc() 777 b_field->val2 = ((raw_value - raw_dec_part) * 1000000) / (1 << 16); in tmag5273_channel_b_field_convert() 794 temperature->val2 = value % 1000000; in tmag5273_temperature_convert() 806 angle->val2 = ((raw_value & 0xF) * 1000000) >> 1; in tmag5273_angle_convert() 881 val[val_offset].val2 = 0; in tmag5273_channel_get()
|
/Zephyr-latest/drivers/sensor/ene_tach_kb1200/ |
D | tach_ene_kb1200.c | 104 val->val2 = 0U; in tach_kb1200_channel_get()
|
/Zephyr-latest/drivers/sensor/ltrf216a/ |
D | ltrf216a.c | 133 val->val2 = microlux % 1000000; in ltrf216a_channel_get()
|
/Zephyr-latest/drivers/sensor/maxim/max31790/ |
D | max31790_fan_speed.c | 104 val->val2 = 0; in max31790_fan_speed_channel_get()
|
/Zephyr-latest/drivers/sensor/microchip/mcp9600/ |
D | mcp9600.c | 102 val->val2 = data->temp % 1000000; in mcp9600_channel_get()
|
/Zephyr-latest/drivers/sensor/qdec_sam/ |
D | qdec_sam.c | 58 val->val2 = 0; in qdec_sam_get()
|
/Zephyr-latest/drivers/sensor/seeed/grove/ |
D | light_sensor.c | 76 val->val2 = ((int32_t)(dval * 1000000)) % 1000000; in gls_channel_get()
|
D | temperature_sensor.c | 78 val->val2 = ((int32_t)(dval * 1000000)) % 1000000; in gts_channel_get()
|
/Zephyr-latest/drivers/sensor/aosong/ags10/ |
D | ags10.c | 80 val->val2 = 0; in ags10_channel_get()
|
/Zephyr-latest/samples/sensor/mcux_acmp/src/ |
D | main.c | 112 val.val2 = 0; in main()
|
/Zephyr-latest/drivers/sensor/ti/ina226/ |
D | ina226.c | 99 val->val2 = value_microX % 1000000L; in micro_s32_to_sensor_value() 237 val->val2 = 0; in ina226_attr_get()
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a.c | 62 val->val2 = TCN75A_FIXED_PT_TO_SENSOR(temp_lsb); in tcn75a_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/tmp007/ |
D | tmp007.c | 93 val->val2 = uval % 1000000; in tmp007_channel_get()
|
/Zephyr-latest/drivers/sensor/amg88xx/ |
D | amg88xx.c | 60 val[idx].val2 = (((int32_t)drv_data->sample[idx]) * in amg88xx_channel_get()
|
/Zephyr-latest/samples/sensor/tdk_apex/src/ |
D | main.c | 93 apex_mode.val2 = 0; in main()
|
/Zephyr-latest/drivers/sensor/nxp/mcux_lpcmp/ |
D | mcux_lpcmp.c | 66 if (val->val2 != 0) { in mcux_lpcmp_attr_set() 266 val->val2 = 0; in mcux_lpcmp_attr_get() 298 val->val2 = 0; in mcux_lpcmp_channel_get()
|
/Zephyr-latest/drivers/sensor/meas/ms5607/ |
D | ms5607.c | 151 val->val2 = data->temperature % 100 * 10000; in ms5607_channel_get() 155 val->val2 = data->pressure % 100 * 10000; in ms5607_channel_get()
|
/Zephyr-latest/drivers/sensor/mhz19b/ |
D | mhz19b.c | 162 val->val2 = 0; in mhz19b_channel_get() 236 val->val2 = 0; in mhz19b_attr_get()
|
/Zephyr-latest/drivers/sensor/st/vl53l0x/ |
D | vl53l0x.c | 287 val->val2 = 0; in vl53l0x_channel_get() 290 val->val2 = (drv_data->RangingMeasurementData.RangeMilliMeter % 1000) * 1000; in vl53l0x_channel_get()
|
/Zephyr-latest/drivers/sensor/apds9306/ |
D | apds9306.c | 202 value->val2 = 0; in apds9306_attr_get() 260 value->val2 = 0; in apds9306_channel_get()
|
/Zephyr-latest/drivers/sensor/bosch/bmg160/ |
D | bmg160.c | 232 val->val2 = (raw % 2) * 500000; in bmg160_to_fixed_point() 237 val->val2 = converted_val % 1000000; in bmg160_to_fixed_point()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl.c | 572 val->val2 = (data->temp_sample % 256) * (1000000 / 256); in lsm6dsl_gyro_channel_get_temp() 585 val->val2 = (int32_t)dval % 1000000; in lsm6dsl_magn_convert() 641 val->val2 = (raw_val >> 12) % 10 * 100000 + in lps22hb_press_convert() 650 val->val2 = (int32_t)raw_val % 100 * (10000); in lps22hb_temp_convert()
|
/Zephyr-latest/drivers/sensor/bosch/bmi270/ |
D | bmi270.c | 79 val->val2 = raw_val % 1000000LL; in channel_accel_convert() 90 val->val2 = ((raw_val * (int64_t) range * SENSOR_PI) in channel_gyro_convert() 567 val.val2 = 1e6; in bmi270_write_anymo_threshold() 571 uint16_t lsbs = (val.val2 * BMI270_ANYMO_2_THRESHOLD_MASK) / 1e6; in bmi270_write_anymo_threshold()
|