Searched refs:gyro_x (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/ |
D | main.c | 41 struct sensor_value gyro_x, gyro_y, gyro_z; in lsm6dsl_trigger_handler() local 65 sensor_channel_get(dev, SENSOR_CHAN_GYRO_X, &gyro_x); in lsm6dsl_trigger_handler() 69 sprintf(out_str, "gyro (%f %f %f) dps", (double)out_ev(&gyro_x), in lsm6dsl_trigger_handler() 269 struct sensor_value gyro_x, gyro_y, gyro_z; in main() local 320 sensor_channel_get(accel_dev, SENSOR_CHAN_GYRO_X, &gyro_x); in main() 323 sprintf(out_str, "gyro (%f %f %f) dps", (double)out_ev(&gyro_x), in main()
|
/Zephyr-latest/samples/sensor/lsm6dsl/src/ |
D | main.c | 30 static struct sensor_value gyro_x, gyro_y, gyro_z; in lsm6dsl_trigger_handler() local 46 sensor_channel_get(dev, SENSOR_CHAN_GYRO_X, &gyro_x); in lsm6dsl_trigger_handler() 74 gyro_x_out = gyro_x; in lsm6dsl_trigger_handler()
|
/Zephyr-latest/drivers/sensor/tdk/icm42605/ |
D | icm42605.c | 95 icm42605_convert_gyro(val, drv_data->gyro_x, in icm42605_channel_get() 103 icm42605_convert_gyro(val, drv_data->gyro_x, in icm42605_channel_get() 215 drv_data->gyro_x = in icm42605_sample_fetch() 234 drv_data->gyro_x = in icm42605_sample_fetch() 374 data->gyro_x = 0; in icm42605_data_init()
|
D | icm42605.h | 34 int16_t gyro_x; member
|
/Zephyr-latest/drivers/sensor/tdk/mpu6050/ |
D | mpu6050.c | 91 mpu6050_convert_gyro(val, drv_data->gyro_x, in mpu6050_channel_get() 99 mpu6050_convert_gyro(val, drv_data->gyro_x, in mpu6050_channel_get() 137 drv_data->gyro_x = sys_be16_to_cpu(buf[4]); in mpu6050_sample_fetch()
|
D | mpu6050.h | 56 int16_t gyro_x; member
|
/Zephyr-latest/drivers/sensor/tdk/mpu9250/ |
D | mpu9250.h | 25 int16_t gyro_x; member
|
D | mpu9250.c | 129 mpu9250_convert_gyro(val, drv_data->gyro_x, in mpu9250_channel_get() 137 mpu9250_convert_gyro(val, drv_data->gyro_x, in mpu9250_channel_get() 209 drv_data->gyro_x = sys_be16_to_cpu(buf[4]); in mpu9250_sample_fetch()
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670.h | 64 int32_t gyro_x; member
|
D | icm42670.c | 607 icm42670_convert_gyro(&val[0], data->gyro_x, data->gyro_fs); in icm42670_channel_get() 611 icm42670_convert_gyro(val, data->gyro_x, data->gyro_fs); in icm42670_channel_get() 705 data->gyro_x = event.gyro[0]; in icm42670_fetch_from_fifo() 759 data->gyro_x = (int16_t)sys_get_be16(&buffer[0]); in icm42670_sample_fetch_gyro() 987 data->gyro_x = 0; in icm42670_init()
|