Home
last modified time | relevance | path

Searched refs:accel_z (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c40 struct sensor_value accel_x, accel_y, accel_z; in lsm6dsl_trigger_handler() local
55 sensor_channel_get(dev, SENSOR_CHAN_ACCEL_Z, &accel_z); in lsm6dsl_trigger_handler()
59 (double)out_ev(&accel_z)); in lsm6dsl_trigger_handler()
268 struct sensor_value accel_x, accel_y, accel_z; in main() local
312 sensor_channel_get(accel_dev, SENSOR_CHAN_ACCEL_Z, &accel_z); in main()
315 (double)out_ev(&accel_z)); in main()
/Zephyr-latest/samples/sensor/sensor_shell/
DREADME.rst54 channel idx=2 accel_z = 9.959878
57 uart:~$ sensor get mma8652fc@1d accel_z
58 channel idx=2 accel_z = 9.959878
61 channel idx=2 accel_z = 9.959878
/Zephyr-latest/samples/sensor/lsm6dsl/src/
Dmain.c29 static struct sensor_value accel_x, accel_y, accel_z; in lsm6dsl_trigger_handler() local
42 sensor_channel_get(dev, SENSOR_CHAN_ACCEL_Z, &accel_z); in lsm6dsl_trigger_handler()
72 accel_z_out = accel_z; in lsm6dsl_trigger_handler()
/Zephyr-latest/drivers/sensor/tdk/mpu6050/
Dmpu6050.c75 mpu6050_convert_accel(val + 2, drv_data->accel_z, in mpu6050_channel_get()
87 mpu6050_convert_accel(val, drv_data->accel_z, in mpu6050_channel_get()
135 drv_data->accel_z = sys_be16_to_cpu(buf[2]); in mpu6050_sample_fetch()
Dmpu6050.h51 int16_t accel_z; member
/Zephyr-latest/drivers/sensor/tdk/mpu9250/
Dmpu9250.h20 int16_t accel_z; member
Dmpu9250.c113 mpu9250_convert_accel(val + 2, drv_data->accel_z, in mpu9250_channel_get()
125 mpu9250_convert_accel(val, drv_data->accel_z, in mpu9250_channel_get()
207 drv_data->accel_z = sys_be16_to_cpu(buf[2]); in mpu9250_sample_fetch()
/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605.c79 icm42605_convert_accel(val + 2, drv_data->accel_z, in icm42605_channel_get()
91 icm42605_convert_accel(val, drv_data->accel_z, in icm42605_channel_get()
203 drv_data->accel_z = in icm42605_sample_fetch()
372 data->accel_z = 0; in icm42605_data_init()
Dicm42605.h27 int16_t accel_z; member
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670.h60 int32_t accel_z; member
Dicm42670.c599 icm42670_convert_accel(&val[2], data->accel_z, data->accel_fs); in icm42670_channel_get()
605 icm42670_convert_accel(val, data->accel_z, data->accel_fs); in icm42670_channel_get()
702 data->accel_z = event.accel[2]; in icm42670_fetch_from_fifo()
743 data->accel_z = (int16_t)sys_get_be16(&buffer[4]); in icm42670_sample_fetch_accel()
986 data->accel_z = 0; in icm42670_init()