Searched refs:magn_y (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/sensor/st/lsm303dlhc_magn/ |
D | lsm303dlhc_magn.c | 45 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()
|
D | lsm303dlhc_magn.h | 78 int16_t magn_y; member
|
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/ |
D | main.c | 44 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/ |
D | main.c | 32 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/ |
D | mmc56x3_decoder.c | 109 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()
|
D | mmc56x3.h | 110 int32_t magn_y; member
|
D | mmc56x3.c | 284 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/ |
D | mpu9250.h | 33 int16_t magn_y; member
|
D | mpu9250.c | 156 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()
|