Home
last modified time | relevance | path

Searched refs:accel (Results 1 – 25 of 52) sorted by relevance

123

/Zephyr-Core-3.5.0/samples/sensor/accel_polling/src/
Dmain.c15 #define ACCEL_ALIAS(i) DT_ALIAS(_CONCAT(accel, i))
31 struct sensor_value accel[3]; in print_accels() local
40 ret = sensor_channel_get(dev, channels[i], &accel[i]); in print_accels()
48 sensor_value_to_double(&accel[0]), sensor_value_to_double(&accel[1]), in print_accels()
49 sensor_value_to_double(&accel[2])); in print_accels()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dipso_accelerometer.c54 static struct lwm2m_engine_obj accel; variable
147 accel.obj_id = IPSO_OBJECT_ACCELEROMETER_ID; in ipso_accel_init()
148 accel.version_major = ACCEL_VERSION_MAJOR; in ipso_accel_init()
149 accel.version_minor = ACCEL_VERSION_MINOR; in ipso_accel_init()
150 accel.is_core = false; in ipso_accel_init()
151 accel.fields = fields; in ipso_accel_init()
152 accel.field_count = ARRAY_SIZE(fields); in ipso_accel_init()
153 accel.max_instance_count = ARRAY_SIZE(inst); in ipso_accel_init()
154 accel.create_cb = accel_create; in ipso_accel_init()
155 lwm2m_register_obj(&accel); in ipso_accel_init()
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/src/
Daccelerometer_handler.cpp56 struct sensor_value accel[3]; in ReadAccelerometer() local
71 rc = sensor_channel_get(sensor, SENSOR_CHAN_ACCEL_XYZ, accel); in ReadAccelerometer()
76 bufx[begin_index] = (float)sensor_value_to_double(&accel[0]); in ReadAccelerometer()
77 bufy[begin_index] = (float)sensor_value_to_double(&accel[1]); in ReadAccelerometer()
78 bufz[begin_index] = (float)sensor_value_to_double(&accel[2]); in ReadAccelerometer()
/Zephyr-Core-3.5.0/samples/sensor/fxos8700/src/
Dmain.c34 struct sensor_value accel[3]; in main() local
86 sensor_channel_get(dev, SENSOR_CHAN_ACCEL_XYZ, accel); in main()
89 sensor_value_to_double(&accel[0]), in main()
90 sensor_value_to_double(&accel[1]), in main()
91 sensor_value_to_double(&accel[2])); in main()
/Zephyr-Core-3.5.0/samples/sensor/icm42605/
DREADME.rst39 accel -5.882554 -6.485893 5.868188 m/s/s
42 accel -5.841853 -6.435615 5.911283 m/s/s
45 accel -5.930438 -6.461951 6.009446 m/s/s
48 accel -5.884948 -6.524200 5.961562 m/s/s
51 accel -5.863400 -12.872426 -0.154427 m/s/s
54 accel -5.906496 -6.461951 5.899312 m/s/s
/Zephyr-Core-3.5.0/samples/sensor/lis2dh/src/
Dmain.c15 struct sensor_value accel[3]; in fetch_and_display() local
31 accel); in fetch_and_display()
38 sensor_value_to_double(&accel[0]), in fetch_and_display()
39 sensor_value_to_double(&accel[1]), in fetch_and_display()
40 sensor_value_to_double(&accel[2])); in fetch_and_display()
/Zephyr-Core-3.5.0/samples/sensor/mpu6050/
DREADME.rst41 accel -5.882554 -6.485893 5.868188 m/s/s
44 accel -5.841853 -6.435615 5.911283 m/s/s
47 accel -5.930438 -6.461951 6.009446 m/s/s
50 accel -5.884948 -6.524200 5.961562 m/s/s
53 accel -5.863400 -12.872426 -0.154427 m/s/s
56 accel -5.906496 -6.461951 5.899312 m/s/s
/Zephyr-Core-3.5.0/samples/sensor/mpu6050/src/
Dmain.c36 struct sensor_value accel[3]; in process_mpu6050() local
42 accel); in process_mpu6050()
58 sensor_value_to_double(&accel[0]), in process_mpu6050()
59 sensor_value_to_double(&accel[1]), in process_mpu6050()
60 sensor_value_to_double(&accel[2]), in process_mpu6050()
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a2/sensorhub/src/
Dmain.c35 struct sensor_value accel[3]; in main() local
82 sensor_channel_get(lsm6dsl, SENSOR_CHAN_ACCEL_XYZ, accel); in main()
101 sensor_value_to_double(&accel[0]), in main()
102 sensor_value_to_double(&accel[1]), in main()
103 sensor_value_to_double(&accel[2])); in main()
/Zephyr-Core-3.5.0/tests/drivers/sensor/accel/src/
Dmain.c47 static void run_tests_on_accel(const struct device *accel) in run_tests_on_accel() argument
49 zassert_true(device_is_ready(accel), "Accelerometer device is not ready"); in run_tests_on_accel()
51 PRINT("Running tests on '%s'\n", accel->name); in run_tests_on_accel()
52 k_object_access_grant(accel, k_current_get()); in run_tests_on_accel()
/Zephyr-Core-3.5.0/boards/arm/stm32f411e_disco/
Dstm32f411e_disco_B.overlay16 /delete-node/ lsm303agr-accel@19;
24 lsm303dlhc_accel: lsm303dlhc-accel@19 {
25 compatible = "st,lis2dh", "st,lsm303dlhc-accel";
/Zephyr-Core-3.5.0/samples/sensor/icm42605/src/
Dmain.c36 struct sensor_value accel[3]; in process_icm42605() local
42 accel); in process_icm42605()
58 sensor_value_to_double(&accel[0]), in process_icm42605()
59 sensor_value_to_double(&accel[1]), in process_icm42605()
60 sensor_value_to_double(&accel[2]), in process_icm42605()
/Zephyr-Core-3.5.0/boards/arm/stm32f3_disco/
Dstm32f3_disco_E.overlay16 /delete-node/ lsm303dlhc-accel@19;
23 lsm303agr_accel: lsm303agr-accel@19 {
24 compatible = "st,lis2dh", "st,lsm303agr-accel";
/Zephyr-Core-3.5.0/tests/drivers/sensor/accel/boards/
Dnative_posix.overlay7 accel-0 = &bmi_spi;
8 accel-1 = &bmi_i2c;
/Zephyr-Core-3.5.0/subsys/sensing/sensor/phy_3d_sensor/
DKconfig5 bool "sensing subsystem physical 3d sensors(accel, gyro, mag)"
9 Enable sensing subsystem physical 3d sensors(accel, gyro, mag).
/Zephyr-Core-3.5.0/tests/drivers/build_all/sensor/
Dspi.dtsi110 test_spi_lsm303agr_accel: lsm303agr-accel@e {
111 compatible = "st,lsm303agr-accel";
186 accel-hz = <800>;
187 accel-fs = <16>;
202 accel-hz = <32000>;
203 accel-fs = <16>;
268 compatible = "bosch,bmi08x-accel";
276 accel-hz = "800";
277 accel-fs = <4>;
Di2c.dtsi123 accel-fs = <2>;
124 accel-dlpf="5.05";
329 test_i2c_lsm303agr_accel: lsm303agr-accel@34 {
330 compatible = "st,lsm303agr-accel";
337 test_i2c_lsm303dlhc_accel: lsm303dlhc-accel@35 {
338 compatible = "st,lsm303dlhc-accel";
719 compatible = "bosch,bmi08x-accel";
726 accel-hz = "800";
727 accel-fs = <4>;
/Zephyr-Core-3.5.0/samples/subsys/sensing/simple/boards/
Dnative_posix.overlay27 base_accel: base-accel {
36 lid_accel: lid-accel {
/Zephyr-Core-3.5.0/boards/shields/x_nucleo_iks01a2/
Dx_nucleo_iks01a2.overlay40 lsm303agr_accel_19_x_nucleo_iks01a2: lsm303agr-accel@19 {
41 compatible = "st,lis2dh", "st,lsm303agr-accel";
/Zephyr-Core-3.5.0/samples/boards/reel_board/mesh_badge/src/
Dperiphs.c122 const struct device *accel = dev_info[DEV_IDX_MMA8652]; in configure_accel() local
129 err = sensor_trigger_set(accel, &trig_motion, motion_handler); in configure_accel()
/Zephyr-Core-3.5.0/samples/sensor/lsm6dso/
DREADME.rst46 accel x:-0.650847 ms/2 y:-5.300102 ms/2 z:-8.163114 ms/2
50 accel x:0.341575 ms/2 y:5.209773 ms/2 z:-7.938787 ms/2
/Zephyr-Core-3.5.0/boards/arm/vmu_rt1170/
Dvmu_rt1170.dts213 accel-hz = <1000>;
214 accel-fs = <16>;
229 accel-hz = <1000>;
230 accel-fs = <16>;
243 compatible = "bosch,bmi08x-accel";
251 accel-hz = "800";
252 accel-fs = <24>;
/Zephyr-Core-3.5.0/boards/shields/x_nucleo_iks01a2/boards/
Dstm32mp157c_dk2.overlay17 lsm303agr_accel_19_x_nucleo_iks01a2: lsm303agr-accel@19 {
/Zephyr-Core-3.5.0/drivers/sensor/wsen_itds/
DKconfig6 bool "WSEN-ITDS 3-axis accel sensor"
/Zephyr-Core-3.5.0/samples/sensor/lsm6dso_i2c_on_i3c/
DREADME.rst70 accel x:-0.650847 ms/2 y:-5.300102 ms/2 z:-8.163114 ms/2
74 accel x:0.341575 ms/2 y:5.209773 ms/2 z:-7.938787 ms/2

123