Home
last modified time | relevance | path

Searched refs:magn_z (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/drivers/sensor/st/lsm303dlhc_magn/
Dlsm303dlhc_magn.c46 drv_data->magn_z = (magn_buf[2] << 8) | magn_buf[3]; in lsm303dlhc_sample_fetch()
79 lsm303dlhc_convert_z(val, drv_data->magn_z); in lsm303dlhc_channel_get()
84 lsm303dlhc_convert_z(val + 2, drv_data->magn_z); in lsm303dlhc_channel_get()
Dlsm303dlhc_magn.h79 int16_t magn_z; member
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c44 struct sensor_value magn_x, magn_y, magn_z; in lsm6dsl_trigger_handler() local
80 sensor_channel_get(dev, SENSOR_CHAN_MAGN_Z, &magn_z); in lsm6dsl_trigger_handler()
84 (double)out_ev(&magn_z)); in lsm6dsl_trigger_handler()
271 struct sensor_value magn_x, magn_y, magn_z; in main() local
332 sensor_channel_get(accel_dev, SENSOR_CHAN_MAGN_Z, &magn_z); in main()
335 (double)out_ev(&magn_z)); in main()
/Zephyr-latest/samples/sensor/lsm6dsl/src/
Dmain.c32 static struct sensor_value magn_x, magn_y, magn_z; in lsm6dsl_trigger_handler() local
55 sensor_channel_get(dev, SENSOR_CHAN_MAGN_Z, &magn_z); in lsm6dsl_trigger_handler()
81 magn_z_out = magn_z; in lsm6dsl_trigger_handler()
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/
Dmmc56x3_decoder.c121 out->readings[0].value = data->magn_z * MMC56X3_MAGN_CONV_Q5_26_20B; in mmc56x3_decoder_decode()
137 out_3->readings[0].v[2] = data->magn_z * MMC56X3_MAGN_CONV_Q5_26_20B; in mmc56x3_decoder_decode()
Dmmc56x3.h111 int32_t magn_z; member
Dmmc56x3.c288 data->magn_z = raw_magn_z; in mmc56x3_sample_fetch_helper()
325 convert_double_to_sensor_val(data->magn_z * MMC56X3_MAGN_GAUSS_RES, val); in mmc56x3_channel_get()
330 convert_double_to_sensor_val(data->magn_z * MMC56X3_MAGN_GAUSS_RES, val + 2); in mmc56x3_channel_get()
/Zephyr-latest/drivers/sensor/tdk/mpu9250/
Dmpu9250.h35 int16_t magn_z; member
Dmpu9250.c162 ret = ak8963_convert_magn(val + 2, drv_data->magn_z, in mpu9250_channel_get()
175 return ak8963_convert_magn(val, drv_data->magn_z, in mpu9250_channel_get()
215 drv_data->magn_z = sys_le16_to_cpu(buf[9]); in mpu9250_sample_fetch()