/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks02a1/sensorhub/src/ |
D | main.c | 19 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in iis2dlpc_trigger_handler() 32 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in ism330dhcx_acc_trig_handler() 59 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config() 67 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config() 77 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in iis2dlpc_config() 90 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 98 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 138 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in ism330dhcx_config() 192 sensor_channel_get(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, accel2); in main() 193 sensor_channel_get(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, accel1); in main()
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks02a1/standard/src/ |
D | main.c | 19 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in iis2dlpc_trigger_handler() 42 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in ism330dhcx_acc_trigger_handler() 62 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config() 70 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config() 80 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in iis2dlpc_config() 116 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 124 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 152 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in ism330dhcx_config() 216 sensor_channel_get(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, accel2); in main() 219 sensor_channel_get(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, accel1); in main()
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks01a3/sensorhub/src/ |
D | main.c | 19 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lis2dw12_trigger_handler() 43 if (sensor_attr_set(lis2dw12, SENSOR_CHAN_ACCEL_XYZ, in lis2dw12_config() 51 if (sensor_attr_set(lis2dw12, SENSOR_CHAN_ACCEL_XYZ, in lis2dw12_config() 61 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lis2dw12_config() 74 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 82 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 139 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dso_config() 191 sensor_channel_get(lis2dw12, SENSOR_CHAN_ACCEL_XYZ, accel2); in main() 192 sensor_channel_get(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, accel1); in main()
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks01a3/standard/src/ |
D | main.c | 51 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lis2dw12_trigger_handler() 64 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lsm6dso_acc_trig_handler() 171 if (sensor_attr_set(lis2dw12, SENSOR_CHAN_ACCEL_XYZ, in lis2dw12_config() 179 if (sensor_attr_set(lis2dw12, SENSOR_CHAN_ACCEL_XYZ, in lis2dw12_config() 189 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lis2dw12_config() 202 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 210 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 238 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dso_config() 259 if (sensor_attr_set(lis2de12, SENSOR_CHAN_ACCEL_XYZ, in lis2de12_config() 267 if (sensor_attr_set(lis2de12, SENSOR_CHAN_ACCEL_XYZ, in lis2de12_config() [all …]
|
/Zephyr-Core-3.6.0/samples/boards/sensortile_box/src/ |
D | main.c | 40 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lis2dw12_trigger_handler() 53 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lsm6dso_acc_trig_handler() 88 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in iis3dhhc_trigger_handler() 124 if (sensor_attr_set(lis2dw12, SENSOR_CHAN_ACCEL_XYZ, in lis2dw12_config() 132 if (sensor_attr_set(lis2dw12, SENSOR_CHAN_ACCEL_XYZ, in lis2dw12_config() 142 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lis2dw12_config() 155 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 163 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 191 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dso_config() 245 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in iis3dhhc_config() [all …]
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks4a1/standard/src/ |
D | main.c | 86 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 96 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 104 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 132 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dso16is_config() 143 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config() 153 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config() 161 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config() 189 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dsv16x_config() 284 sensor_channel_get(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, lsm6dso16is_xl); in main() 289 sensor_channel_get(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, lsm6dsv16x_xl); in main()
|
/Zephyr-Core-3.6.0/samples/sensor/bmi270/src/ |
D | main.c | 35 sensor_attr_set(dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_FULL_SCALE, in main() 37 sensor_attr_set(dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_OVERSAMPLING, in main() 43 sensor_attr_set(dev, SENSOR_CHAN_ACCEL_XYZ, in main() 74 sensor_channel_get(dev, SENSOR_CHAN_ACCEL_XYZ, acc); in main()
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks4a1/sensorhub2/src/ |
D | main.c | 32 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 40 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 94 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dso16is_config() 132 sensor_channel_get(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, lsm6dso16is_xl); in main()
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks4a1/sensorhub1/src/ |
D | main.c | 32 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config() 40 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config() 94 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dsv16x_config() 132 sensor_channel_get(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, lsm6dsv16x_xl); in main()
|
/Zephyr-Core-3.6.0/samples/boards/sensortile_box_pro/sensors-on-board/src/ |
D | main.c | 37 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lsm6dsv16x_acc_trig_handler() 109 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config() 117 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config() 145 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dsv16x_config() 189 if (sensor_attr_set(lis2du12, SENSOR_CHAN_ACCEL_XYZ, in lis2du12_config() 199 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lis2du12_config() 347 sensor_channel_get(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, lsm6dsv16x_accel); in main() 351 sensor_channel_get(lis2du12, SENSOR_CHAN_ACCEL_XYZ, lis2du12_accel); in main()
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks01a2/standard/src/ |
D | main.c | 66 if (sensor_attr_set(lsm6dsl, SENSOR_CHAN_ACCEL_XYZ, in main() 82 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in main() 121 sensor_channel_get(lsm6dsl, SENSOR_CHAN_ACCEL_XYZ, accel1); in main() 123 sensor_channel_get(lsm303agr_a, SENSOR_CHAN_ACCEL_XYZ, accel2); in main()
|
/Zephyr-Core-3.6.0/samples/shields/x_nucleo_iks01a2/sensorhub/src/ |
D | main.c | 50 if (sensor_attr_set(lsm6dsl, SENSOR_CHAN_ACCEL_XYZ, in main() 66 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in main() 82 sensor_channel_get(lsm6dsl, SENSOR_CHAN_ACCEL_XYZ, accel); in main()
|
/Zephyr-Core-3.6.0/samples/sensor/lsm6dso/src/ |
D | main.c | 25 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in fetch_and_display() 54 ret = sensor_attr_set(dev, SENSOR_CHAN_ACCEL_XYZ, in set_sampling_freq() 86 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in test_trigger_mode()
|
/Zephyr-Core-3.6.0/samples/sensor/fxos8700/src/ |
D | main.c | 70 .chan = SENSOR_CHAN_ACCEL_XYZ, in main() 86 sensor_channel_get(dev, SENSOR_CHAN_ACCEL_XYZ, accel); in main()
|
/Zephyr-Core-3.6.0/drivers/sensor/bmi160/ |
D | emul_bmi160.c | 379 case SENSOR_CHAN_ACCEL_XYZ: { in bmi160_emul_backend_get_sample_range() 446 if (ch != SENSOR_CHAN_ACCEL_XYZ && ch != SENSOR_CHAN_GYRO_XYZ) { in bmi160_emul_backend_set_offset() 455 if (ch == SENSOR_CHAN_ACCEL_XYZ) { in bmi160_emul_backend_set_offset() 461 if (ch == SENSOR_CHAN_ACCEL_XYZ) { in bmi160_emul_backend_set_offset() 468 if (ch == SENSOR_CHAN_ACCEL_XYZ) { in bmi160_emul_backend_set_offset() 496 __ASSERT_NO_MSG(ch != SENSOR_CHAN_ACCEL_XYZ || in bmi160_emul_backend_set_offset() 500 if (ch == SENSOR_CHAN_ACCEL_XYZ) { in bmi160_emul_backend_set_offset() 517 (ch == SENSOR_CHAN_ACCEL_XYZ || ch == SENSOR_CHAN_GYRO_XYZ)) { in bmi160_emul_backend_set_attribute() 536 case SENSOR_CHAN_ACCEL_XYZ: in bmi160_emul_backend_get_attribute_metadata()
|
/Zephyr-Core-3.6.0/samples/sensor/lis2dh/src/ |
D | main.c | 30 SENSOR_CHAN_ACCEL_XYZ, in fetch_and_display() 85 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in main()
|
/Zephyr-Core-3.6.0/samples/sensor/lsm6dsl/src/ |
D | main.c | 39 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lsm6dsl_trigger_handler() 109 if (sensor_attr_set(lsm6dsl_dev, SENSOR_CHAN_ACCEL_XYZ, in main() 125 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in main()
|
/Zephyr-Core-3.6.0/drivers/sensor/icm42688/ |
D | icm42688_decoder.c | 20 case SENSOR_CHAN_ACCEL_XYZ: in icm42688_get_shift() 95 case SENSOR_CHAN_ACCEL_XYZ: in icm42688_convert_raw_to_q31() 131 case SENSOR_CHAN_ACCEL_XYZ: in icm42688_get_channel_position() 164 case SENSOR_CHAN_ACCEL_XYZ: in icm42688_encode_channel() 201 #define IS_ACCEL(chan) ((chan) >= SENSOR_CHAN_ACCEL_X && (chan) <= SENSOR_CHAN_ACCEL_XYZ) 410 icm42688_get_shift(SENSOR_CHAN_ACCEL_XYZ, edata->header.accel_fs, in icm42688_fifo_decode() 478 case SENSOR_CHAN_ACCEL_XYZ: { in icm42688_one_shot_decode() 479 channel_request = icm42688_encode_channel(SENSOR_CHAN_ACCEL_XYZ); in icm42688_one_shot_decode() 488 rc = icm42688_get_shift(SENSOR_CHAN_ACCEL_XYZ, header->accel_fs, header->gyro_fs, in icm42688_one_shot_decode() 601 case SENSOR_CHAN_ACCEL_XYZ: in icm42688_decoder_get_frame_count() [all …]
|
/Zephyr-Core-3.6.0/samples/boards/reel_board/mesh_badge/src/ |
D | periphs.c | 52 SENSOR_CHAN_ACCEL_XYZ, &val[0])) { in get_mma8652_val() 125 .chan = SENSOR_CHAN_ACCEL_XYZ, in configure_accel()
|
/Zephyr-Core-3.6.0/samples/boards/96b_argonkey/sensors/src/ |
D | main.c | 52 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lsm6dsl_trigger_handler() 190 if (sensor_attr_set(accel_dev, SENSOR_CHAN_ACCEL_XYZ, in main() 203 if (sensor_attr_set(accel_dev, SENSOR_CHAN_ACCEL_XYZ, in main() 252 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in main() 309 sensor_sample_fetch_chan(accel_dev, SENSOR_CHAN_ACCEL_XYZ); in main()
|
/Zephyr-Core-3.6.0/drivers/sensor/bma4xx/ |
D | bma4xx.c | 55 case SENSOR_CHAN_ACCEL_XYZ: in bma4xx_attr_set_offset() 383 case SENSOR_CHAN_ACCEL_XYZ: in bma4xx_submit_one_shot() 454 case SENSOR_CHAN_ACCEL_XYZ: in bma4xx_decoder_get_frame_count() 477 case SENSOR_CHAN_ACCEL_XYZ: in bma4xx_decoder_get_size_info() 496 case SENSOR_CHAN_ACCEL_XYZ: in bma4xx_get_shift() 584 case SENSOR_CHAN_ACCEL_XYZ: { in bma4xx_one_shot_decode() 593 rc = bma4xx_get_shift(SENSOR_CHAN_ACCEL_XYZ, header->accel_fs, &out->shift); in bma4xx_one_shot_decode()
|
/Zephyr-Core-3.6.0/samples/sensor/lsm303dlhc/src/ |
D | main.c | 61 if (read_sensor(accelerometer, SENSOR_CHAN_ACCEL_XYZ) < 0) { in main()
|
/Zephyr-Core-3.6.0/drivers/sensor/lis2du12/ |
D | lis2du12.c | 190 case SENSOR_CHAN_ACCEL_XYZ: in lis2du12_attr_set() 225 case SENSOR_CHAN_ACCEL_XYZ: in lis2du12_sample_fetch() 268 case SENSOR_CHAN_ACCEL_XYZ: in lis2du12_accel_get_channel() 297 case SENSOR_CHAN_ACCEL_XYZ: in lis2du12_channel_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/lis2de12/ |
D | lis2de12.c | 154 case SENSOR_CHAN_ACCEL_XYZ: in lis2de12_attr_set() 196 case SENSOR_CHAN_ACCEL_XYZ: in lis2de12_sample_fetch() 247 case SENSOR_CHAN_ACCEL_XYZ: in lis2de12_accel_get_channel() 291 case SENSOR_CHAN_ACCEL_XYZ: in lis2de12_channel_get()
|
/Zephyr-Core-3.6.0/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
|