/Zephyr-latest/samples/sensor/bmg160/src/ |
D | main.c | 28 if (sensor_channel_get(bmg160, SENSOR_CHAN_GYRO_XYZ, val) < 0) { in print_gyro_data() 95 trig.chan = SENSOR_CHAN_GYRO_XYZ; in test_trigger_mode() 105 if (sensor_attr_set(bmg160, SENSOR_CHAN_GYRO_XYZ, in test_trigger_mode() 115 if (sensor_attr_set(bmg160, SENSOR_CHAN_GYRO_XYZ, in test_trigger_mode() 144 if (sensor_attr_set(bmg160, SENSOR_CHAN_GYRO_XYZ, in test_trigger_mode() 151 trig.chan = SENSOR_CHAN_GYRO_XYZ; in test_trigger_mode() 192 if (sensor_attr_set(bmg160, SENSOR_CHAN_GYRO_XYZ, in main()
|
/Zephyr-latest/samples/sensor/bmi270/src/ |
D | main.c | 56 sensor_attr_set(dev, SENSOR_CHAN_GYRO_XYZ, SENSOR_ATTR_FULL_SCALE, in main() 58 sensor_attr_set(dev, SENSOR_CHAN_GYRO_XYZ, SENSOR_ATTR_OVERSAMPLING, in main() 64 sensor_attr_set(dev, SENSOR_CHAN_GYRO_XYZ, in main() 75 sensor_channel_get(dev, SENSOR_CHAN_GYRO_XYZ, gyr); in main()
|
/Zephyr-latest/samples/sensor/fxas21002/src/ |
D | main.c | 31 .chan = SENSOR_CHAN_GYRO_XYZ, in main() 42 sensor_channel_get(dev, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/ |
D | main.c | 39 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in ism330dhcx_gyr_trig_handler() 108 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 116 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 142 trig.chan = SENSOR_CHAN_GYRO_XYZ; in ism330dhcx_config() 194 sensor_channel_get(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/ |
D | main.c | 49 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in ism330dhcx_gyr_trigger_handler() 134 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 142 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 156 trig.chan = SENSOR_CHAN_GYRO_XYZ; in ism330dhcx_config() 220 sensor_channel_get(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
|
/Zephyr-latest/samples/sensor/i3g4250d/src/ |
D | main.c | 22 SENSOR_CHAN_GYRO_XYZ, SENSOR_ATTR_SAMPLING_FREQUENCY, &setting); in set_sampling_frequency() 37 SENSOR_CHAN_GYRO_XYZ, in fetch_and_display()
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/src/ |
D | main.c | 50 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, in lsm6dsv16x_config() 58 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, in lsm6dsv16x_config() 133 sensor_channel_get(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, lsm6dsv16x_gy); in main()
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/ |
D | main.c | 50 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config() 58 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config() 133 sensor_channel_get(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, lsm6dso16is_gy); in main()
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/ |
D | main.c | 125 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config() 133 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config() 182 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, in lsm6dsv16x_config() 190 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, in lsm6dsv16x_config() 343 sensor_channel_get(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, lsm6dso16is_gy); in main() 351 sensor_channel_get(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, lsm6dsv16x_gy); in main()
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_decoder.c | 40 case SENSOR_CHAN_GYRO_XYZ: in icm42688_get_shift() 101 case SENSOR_CHAN_GYRO_XYZ: in icm42688_convert_raw_to_q31() 138 case SENSOR_CHAN_GYRO_XYZ: in icm42688_get_channel_position() 169 case SENSOR_CHAN_GYRO_XYZ: in icm42688_encode_channel() 202 #define IS_GYRO(chan) ((chan) >= SENSOR_CHAN_GYRO_X && (chan) <= SENSOR_CHAN_GYRO_XYZ) 430 icm42688_get_shift(SENSOR_CHAN_GYRO_XYZ, edata->header.accel_fs, in icm42688_fifo_decode() 510 case SENSOR_CHAN_GYRO_XYZ: { in icm42688_one_shot_decode() 511 channel_request = icm42688_encode_channel(SENSOR_CHAN_GYRO_XYZ); in icm42688_one_shot_decode() 520 rc = icm42688_get_shift(SENSOR_CHAN_GYRO_XYZ, header->accel_fs, header->gyro_fs, in icm42688_one_shot_decode() 603 case SENSOR_CHAN_GYRO_XYZ: in icm42688_decoder_get_frame_count() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/src/ |
D | main.c | 56 if (sensor_attr_set(lsm6dsl, SENSOR_CHAN_GYRO_XYZ, in main() 83 sensor_channel_get(lsm6dsl, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
|
/Zephyr-latest/samples/sensor/lsm6dso/src/ |
D | main.c | 34 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in fetch_and_display() 61 ret = sensor_attr_set(dev, SENSOR_CHAN_GYRO_XYZ, in set_sampling_freq()
|
/Zephyr-latest/drivers/sensor/st/i3g4250d/ |
D | i3g4250d.c | 33 if ((chan != SENSOR_CHAN_ALL) && (chan != SENSOR_CHAN_GYRO_XYZ)) { in i3g4250d_sample_fetch() 99 case SENSOR_CHAN_GYRO_XYZ: in i3g4250d_channel_get() 151 case SENSOR_CHAN_GYRO_XYZ: in i3g4250d_attr_set()
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/ |
D | main.c | 92 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 100 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 193 sensor_channel_get(lsm6dso, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/ |
D | main.c | 71 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in lsm6dso_gyr_trig_handler() 220 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 228 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 242 trig.chan = SENSOR_CHAN_GYRO_XYZ; in lsm6dso_config() 405 sensor_channel_get(lsm6dso, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
|
/Zephyr-latest/samples/boards/st/sensortile_box/src/ |
D | main.c | 60 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in lsm6dso_gyr_trig_handler() 173 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 181 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 195 trig.chan = SENSOR_CHAN_GYRO_XYZ; in lsm6dso_config() 398 sensor_channel_get(lsm6dso, SENSOR_CHAN_GYRO_XYZ, lsm6dso_gyro); in main()
|
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/ |
D | main.c | 44 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in lsm6dsv16x_gyr_trig_handler() 137 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, in lsm6dsv16x_config() 145 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, in lsm6dsv16x_config() 159 trig.chan = SENSOR_CHAN_GYRO_XYZ; in lsm6dsv16x_config() 381 sensor_channel_get(lsm6dsv16x, SENSOR_CHAN_GYRO_XYZ, lsm6dsv16x_gyro); in main()
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/ |
D | main.c | 64 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in ism330dhcx_gyr_trigger_handler() 214 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 222 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 236 trig.chan = SENSOR_CHAN_GYRO_XYZ; in ism330dhcx_config() 398 sensor_channel_get(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, ism330dhcx_gyro); in main()
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/ |
D | main.c | 72 if (sensor_attr_set(lsm6dsl, SENSOR_CHAN_GYRO_XYZ, in main() 122 sensor_channel_get(lsm6dsl, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
|
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/ |
D | main.c | 64 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in lsm6dsl_trigger_handler() 217 if (sensor_attr_set(accel_dev, SENSOR_CHAN_GYRO_XYZ, in main() 230 if (sensor_attr_set(accel_dev, SENSOR_CHAN_GYRO_XYZ, in main() 319 sensor_sample_fetch_chan(accel_dev, SENSOR_CHAN_GYRO_XYZ); in main()
|
/Zephyr-latest/samples/sensor/lsm6dsl/src/ |
D | main.c | 45 sensor_sample_fetch_chan(dev, SENSOR_CHAN_GYRO_XYZ); in lsm6dsl_trigger_handler() 115 if (sensor_attr_set(lsm6dsl_dev, SENSOR_CHAN_GYRO_XYZ, in main()
|
/Zephyr-latest/tests/drivers/sensor/bmi160/src/ |
D | i2c.c | 39 enum sensor_channel channels[] = {SENSOR_CHAN_ACCEL_XYZ, SENSOR_CHAN_GYRO_XYZ}; in ZTEST_USER_F() enumerator
|
D | spi.c | 39 enum sensor_channel channels[] = {SENSOR_CHAN_ACCEL_XYZ, SENSOR_CHAN_GYRO_XYZ}; in ZTEST_USER_F() enumerator
|
/Zephyr-latest/drivers/sensor/st/lsm6ds0/ |
D | lsm6ds0.c | 204 chan == SENSOR_CHAN_GYRO_XYZ); in lsm6ds0_sample_fetch() 210 case SENSOR_CHAN_GYRO_XYZ: in lsm6ds0_sample_fetch() 320 case SENSOR_CHAN_GYRO_XYZ: in lsm6ds0_gyro_get_channel() 372 case SENSOR_CHAN_GYRO_XYZ: in lsm6ds0_channel_get()
|
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | emul_bmi160.c | 413 case SENSOR_CHAN_GYRO_XYZ: { in bmi160_emul_backend_get_sample_range() 451 if (ch.chan_type != SENSOR_CHAN_ACCEL_XYZ && ch.chan_type != SENSOR_CHAN_GYRO_XYZ) { in bmi160_emul_backend_set_offset() 503 __ASSERT_NO_MSG(ch.chan_type != SENSOR_CHAN_GYRO_XYZ || in bmi160_emul_backend_set_offset() 522 (ch.chan_type == SENSOR_CHAN_ACCEL_XYZ || ch.chan_type == SENSOR_CHAN_GYRO_XYZ)) { in bmi160_emul_backend_set_attribute() 558 case SENSOR_CHAN_GYRO_XYZ: in bmi160_emul_backend_get_attribute_metadata()
|