/Zephyr-latest/drivers/sensor/jedec/jc42/ |
D | jc42.c | 87 val->val2 = (temp * 1000000) / JC42_TEMP_SCALE_CEL; in jc42_channel_get()
|
/Zephyr-latest/drivers/sensor/microchip/mcp970x/ |
D | mcp970x.c | 86 val->val2 = 1000 * (t % MC_PER_C); in get()
|
/Zephyr-latest/drivers/sensor/rpi_pico_temp/ |
D | rpi_pico_temp.c | 80 val->val2 = work * 1000000 / (-cfg->vbe_slope); in rpi_pico_temp_channel_get()
|
/Zephyr-latest/drivers/sensor/sensirion/sts4x/ |
D | sts4x.c | 125 val->val2 = ((temp % 0xFFFF) * 1000000) / 0xFFFF; in sts4x_channel_get()
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/ |
D | main.c | 64 odr_attr.val2 = 0; in main()
|
/Zephyr-latest/drivers/sensor/ti/tmag5170/ |
D | tmag5170.c | 253 output->val2 = result % 100000; in tmag5170_convert_magn_reading_to_gauss() 266 output->val2 = (result % 100000) * 10; in tmag5170_convert_temp_reading_to_celsius() 276 output->val2 = ((chan_reading & 0xF) * 1000000) / 16; in tmag5170_covert_angle_reading_to_degrees()
|
/Zephyr-latest/drivers/sensor/bosch/bmp388/ |
D | bmp388.c | 210 ret = bmp388_attr_set_odr(dev, val->val1, val->val2 / 1000); in bmp388_attr_set() 310 val->val2 = tmp % 1000000; in bmp388_temp_channel_get() 385 val->val2 = (tmp % 100000) * 10; in bmp388_press_channel_get()
|
/Zephyr-latest/drivers/sensor/explorir_m/ |
D | explorir_m.c | 237 val->val1, EXPLORIR_M_SEPARATOR_CHAR, val->val2); in explorir_m_uart_transceive() 325 val->val2 = 0; in explorir_m_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/opt3001/ |
D | opt3001.c | 105 val->val2 = (uval % 100) * 10000; in opt3001_channel_get()
|
/Zephyr-latest/samples/sensor/lsm6dsl/src/ |
D | main.c | 107 odr_attr.val2 = 0; in main()
|
/Zephyr-latest/tests/drivers/sensor/hc-sr04/src/ |
D | main.c | 28 zassert_within(value.val2, value2, 10000, "incorrect measurement for value.val2"); \
|
/Zephyr-latest/drivers/sensor/lm75/ |
D | lm75.c | 111 *temp += val->val2 / 100000U; in lm75_sensor_value_to_temp() 125 val->val2 = (temp - val->val1 * 10) * 100000U; in lm75_temp_to_sensor_value()
|
/Zephyr-latest/drivers/sensor/maxim/ds18b20/ |
D | ds18b20.c | 92 val->val2 = (temp % 2) * 5000000; in ds18b20_temperature_from_raw() 95 val->val2 = (temp % 16) * 1000000 / 16; in ds18b20_temperature_from_raw()
|
/Zephyr-latest/drivers/sensor/meas/ms5837/ |
D | ms5837.c | 179 val->val2 = data->temperature % 100 * 10000; in ms5837_channel_get() 184 val->val2 = data->pressure % 1000 * 1000; in ms5837_channel_get()
|
/Zephyr-latest/drivers/sensor/st/lis2de12/ |
D | lis2de12.c | 226 val->val2 = (int32_t)(dval % 1000000); in lis2de12_accel_convert() 277 val->val2 = micro_c % 1000000; in lis2de12_temp_channel_get()
|
/Zephyr-latest/drivers/sensor/nxp/mcux_acmp/ |
D | mcux_acmp.c | 134 if (val->val2 != 0) { in mcux_acmp_attr_set() 373 val->val2 = 0; in mcux_acmp_attr_get() 411 val->val2 = 0; in mcux_acmp_channel_get()
|
/Zephyr-latest/drivers/sensor/grow_r502a/ |
D | grow_r502a.c | 195 .data = { R502A_SETSYSPARAM, val->val1, val->val2} in fps_set_sys_param() 692 val->val2 = sys_get_be16(&rx_packet.data[3]); in fps_search() 785 val->val2 = sys_get_be16(&rx_packet.data[1]); in fps_match_templates() 786 LOG_INF("Fingerprint matched with a score %d", val->val2); in fps_match_templates() 986 val.val2 = LOG2(CONFIG_R502A_DATA_PKT_SIZE >> 5); in fps_init() 1044 return fps_delete_model(dev, val->val1, val->val2); in grow_r502a_attr_set()
|
/Zephyr-latest/drivers/sensor/current_amp/ |
D | current_amp.c | 69 val->val2 = (i_ma % 1000) * 1000; in get()
|
/Zephyr-latest/drivers/sensor/f75303/ |
D | f75303.c | 141 val->val2 = (sample & F75303_SAMPLE_FRAC_MASK) * F75303_SAMPLE_MICROCELSIUS_PER_BIT; in f75303_channel_get()
|
/Zephyr-latest/drivers/sensor/st/qdec_stm32/ |
D | qdec_stm32.c | 71 val->val2 = 0; in qdec_stm32_get()
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670_apex.c | 115 val->val2 = conv_val % 1000000; in icm42670_apex_pedometer_cadence_convert()
|
/Zephyr-latest/drivers/sensor/asahi_kasei/ak8975/ |
D | ak8975.c | 58 val->val2 = conv_val % 1000000; in ak8975_convert()
|
/Zephyr-latest/samples/sensor/grow_r502a/src/ |
D | main.c | 34 printk("confidence : %d\n", find.val2); in finger_find()
|
/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 | 26 val->val2 = (((int64_t)raw_val % divider) * 1000000L) / divider; in hmc5883l_convert()
|