Searched refs:accel_z (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/ |
D | main.c | 40 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/ |
D | README.rst | 54 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/ |
D | main.c | 29 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/ |
D | mpu6050.c | 75 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()
|
D | mpu6050.h | 51 int16_t accel_z; member
|
/Zephyr-latest/drivers/sensor/tdk/mpu9250/ |
D | mpu9250.h | 20 int16_t accel_z; member
|
D | mpu9250.c | 113 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/ |
D | icm42605.c | 79 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()
|
D | icm42605.h | 27 int16_t accel_z; member
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670.h | 60 int32_t accel_z; member
|
D | icm42670.c | 599 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()
|