Home
last modified time | relevance | path

Searched refs:SENSOR_CHAN_ACCEL_XYZ (Results 1 – 25 of 100) sorted by relevance

1234

/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/
Dmain.c19 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-latest/samples/shields/x_nucleo_iks02a1/standard/src/
Dmain.c19 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-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/
Dmain.c19 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-latest/samples/boards/st/steval_stwinbx1/sensors/src/
Dmain.c34 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in iis2dlpc_trigger_handler()
57 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in ism330dhcx_acc_trigger_handler()
75 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in iis2iclx_trigger_handler()
111 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
119 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
129 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in iis2dlpc_config()
142 if (sensor_attr_set(iis2iclx, SENSOR_CHAN_ACCEL_XYZ, in iis2iclx_config()
150 if (sensor_attr_set(iis2iclx, SENSOR_CHAN_ACCEL_XYZ, in iis2iclx_config()
160 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in iis2iclx_config()
196 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config()
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/
Dmain.c97 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config()
107 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config()
115 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config()
143 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dso16is_config()
154 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config()
164 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config()
172 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config()
200 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dsv16x_config()
236 if (sensor_attr_set(lis2duxs12, SENSOR_CHAN_ACCEL_XYZ, in lis2duxs12_config()
244 if (sensor_attr_set(lis2duxs12, SENSOR_CHAN_ACCEL_XYZ, in lis2duxs12_config()
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/
Dmain.c51 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-latest/samples/boards/st/sensortile_box/src/
Dmain.c40 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-latest/samples/sensor/bmi270/src/
Dmain.c35 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-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/src/
Dmain.c32 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-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/
Dmain.c32 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-latest/samples/sensor/accel_trig/src/
Dmain.c36 .chan = SENSOR_CHAN_ACCEL_XYZ, in main()
51 sensor_channel_get(dev, SENSOR_CHAN_ACCEL_XYZ, data); in main()
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/src/
Dmain.c50 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-latest/samples/shields/x_nucleo_iks01a2/standard/src/
Dmain.c66 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-latest/samples/sensor/lsm6dso/src/
Dmain.c25 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()
87 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in test_trigger_mode()
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c37 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ); in lsm6dsv16x_acc_trig_handler()
119 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config()
127 if (sensor_attr_set(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, in lsm6dsv16x_config()
155 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lsm6dsv16x_config()
199 if (sensor_attr_set(lis2du12, SENSOR_CHAN_ACCEL_XYZ, in lis2du12_config()
209 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in lis2du12_config()
380 sensor_channel_get(lsm6dsv16x, SENSOR_CHAN_ACCEL_XYZ, lsm6dsv16x_accel); in main()
384 sensor_channel_get(lis2du12, SENSOR_CHAN_ACCEL_XYZ, lis2du12_accel); in main()
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Demul_bmi160.c384 case SENSOR_CHAN_ACCEL_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()
460 if (ch.chan_type == SENSOR_CHAN_ACCEL_XYZ) { in bmi160_emul_backend_set_offset()
466 if (ch.chan_type == SENSOR_CHAN_ACCEL_XYZ) { in bmi160_emul_backend_set_offset()
473 if (ch.chan_type == SENSOR_CHAN_ACCEL_XYZ) { in bmi160_emul_backend_set_offset()
501 __ASSERT_NO_MSG(ch.chan_type != SENSOR_CHAN_ACCEL_XYZ || in bmi160_emul_backend_set_offset()
505 if (ch.chan_type == SENSOR_CHAN_ACCEL_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()
541 case SENSOR_CHAN_ACCEL_XYZ: in bmi160_emul_backend_get_attribute_metadata()
/Zephyr-latest/samples/sensor/lis2dh/src/
Dmain.c30 SENSOR_CHAN_ACCEL_XYZ, in fetch_and_display()
85 trig.chan = SENSOR_CHAN_ACCEL_XYZ; in main()
/Zephyr-latest/samples/sensor/accel_polling/src/
Dmain.c95 (struct sensor_chan_spec) {SENSOR_CHAN_ACCEL_XYZ, 0}, &frame_count); in print_accels_stream()
109 decoder->decode(buf, (struct sensor_chan_spec) {SENSOR_CHAN_ACCEL_XYZ, 0}, in print_accels_stream()
166 ret = sensor_attr_get(dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_SAMPLING_FREQUENCY, &odr); in set_sampling_freq()
173 ret = sensor_attr_set(dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_SAMPLING_FREQUENCY, in set_sampling_freq()
/Zephyr-latest/samples/sensor/lsm6dsl/src/
Dmain.c39 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-latest/drivers/sensor/tdk/icm42688/
Dicm42688_decoder.c20 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)
409 icm42688_get_shift(SENSOR_CHAN_ACCEL_XYZ, edata->header.accel_fs, in icm42688_fifo_decode()
476 case SENSOR_CHAN_ACCEL_XYZ: { in icm42688_one_shot_decode()
477 channel_request = icm42688_encode_channel(SENSOR_CHAN_ACCEL_XYZ); in icm42688_one_shot_decode()
486 rc = icm42688_get_shift(SENSOR_CHAN_ACCEL_XYZ, header->accel_fs, header->gyro_fs, in icm42688_one_shot_decode()
599 case SENSOR_CHAN_ACCEL_XYZ: in icm42688_decoder_get_frame_count()
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_decoder.c131 case SENSOR_CHAN_ACCEL_XYZ: in adxl345_decode_stream()
176 case SENSOR_CHAN_ACCEL_XYZ: in adxl345_decoder_get_frame_count()
191 case SENSOR_CHAN_ACCEL_XYZ: in adxl345_decoder_get_frame_count()
218 case SENSOR_CHAN_ACCEL_XYZ: in adxl345_decode_sample()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dperiphs.c51 SENSOR_CHAN_ACCEL_XYZ, &val[0])) { in get_mma8652_val()
124 .chan = SENSOR_CHAN_ACCEL_XYZ, in configure_accel()
/Zephyr-latest/doc/hardware/peripherals/sensor/
Daccel_stream.c79 rc = decoder->get_frame_count(buf, {SENSOR_CHAN_ACCEL_XYZ, 0}, in main()
93 decoder->decode(buf, {SENSOR_CHAN_ACCEL_XYZ, 0}, in main()
Dattributes.rst27 …rc = sensor_attr_get(accel_dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_SAMPLING_FREQUENCY, &accel_samp…
36 …rc = sensor_attr_set(accel_dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_SAMPLING_FREQUENCY, accel_sampl…
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c52 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()

1234