Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/st/lsm303dlhc_magn/
Dlsm303dlhc_magn.c45 drv_data->magn_y = (magn_buf[4] << 8) | magn_buf[5]; in lsm303dlhc_sample_fetch()
76 lsm303dlhc_convert_xy(val, drv_data->magn_y); in lsm303dlhc_channel_get()
83 lsm303dlhc_convert_xy(val + 1, drv_data->magn_y); in lsm303dlhc_channel_get()
Dlsm303dlhc_magn.h78 int16_t magn_y; 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
79 sensor_channel_get(dev, SENSOR_CHAN_MAGN_Y, &magn_y); in lsm6dsl_trigger_handler()
83 (double)out_ev(&magn_y), in lsm6dsl_trigger_handler()
271 struct sensor_value magn_x, magn_y, magn_z; in main() local
331 sensor_channel_get(accel_dev, SENSOR_CHAN_MAGN_Y, &magn_y); in main()
334 (double)out_ev(&magn_y), 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
54 sensor_channel_get(dev, SENSOR_CHAN_MAGN_Y, &magn_y); in lsm6dsl_trigger_handler()
80 magn_y_out = magn_y; in lsm6dsl_trigger_handler()
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/
Dmmc56x3_decoder.c109 out->readings[0].value = data->magn_y * MMC56X3_MAGN_CONV_Q5_26_20B; in mmc56x3_decoder_decode()
136 out_3->readings[0].v[1] = data->magn_y * MMC56X3_MAGN_CONV_Q5_26_20B; in mmc56x3_decoder_decode()
Dmmc56x3.h110 int32_t magn_y; member
Dmmc56x3.c284 data->magn_y = raw_magn_y; in mmc56x3_sample_fetch_helper()
322 convert_double_to_sensor_val(data->magn_y * MMC56X3_MAGN_GAUSS_RES, val); in mmc56x3_channel_get()
329 convert_double_to_sensor_val(data->magn_y * MMC56X3_MAGN_GAUSS_RES, val + 1); in mmc56x3_channel_get()
/Zephyr-latest/drivers/sensor/tdk/mpu9250/
Dmpu9250.h33 int16_t magn_y; member
Dmpu9250.c156 ret = ak8963_convert_magn(val + 1, drv_data->magn_y, in mpu9250_channel_get()
171 return ak8963_convert_magn(val, drv_data->magn_y, in mpu9250_channel_get()
214 drv_data->magn_y = sys_le16_to_cpu(buf[8]); in mpu9250_sample_fetch()