Home
last modified time | relevance | path

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

123

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/
Daccelerometer_handler.cpp51 struct sensor_value accel[3]; in ReadAccelerometer() local
66 rc = sensor_channel_get(sensor, SENSOR_CHAN_ACCEL_XYZ, accel); in ReadAccelerometer()
71 bufx[begin_index] = (float)sensor_value_to_double(&accel[0]); in ReadAccelerometer()
72 bufy[begin_index] = (float)sensor_value_to_double(&accel[1]); in ReadAccelerometer()
73 bufz[begin_index] = (float)sensor_value_to_double(&accel[2]); in ReadAccelerometer()
/Zephyr-latest/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-latest/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-latest/samples/sensor/icm42605/
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-latest/samples/sensor/6dof_motion_drdy/src/
Dmain.c76 struct sensor_value accel[3]; in main() local
98 sensor_channel_get(dev, SENSOR_CHAN_ACCEL_XYZ, accel); in main()
106 sensor_value_to_double(&accel[0]), sensor_value_to_double(&accel[1]), in main()
107 sensor_value_to_double(&accel[2]), sensor_value_to_double(&gyro[0]), in main()
/Zephyr-latest/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-latest/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-latest/samples/modules/lvgl/accelerometer_chart/src/
Dmain.c31 struct sensor_value accel[3]; in sensor_timer_cb() local
35 rc = sensor_channel_get(accel_sensor, SENSOR_CHAN_ACCEL_XYZ, accel); in sensor_timer_cb()
41 lv_chart_set_next_value(chart1, ser_x, sensor_value_to_double(&accel[0])); in sensor_timer_cb()
42 lv_chart_set_next_value(chart1, ser_y, sensor_value_to_double(&accel[1])); in sensor_timer_cb()
43 lv_chart_set_next_value(chart1, ser_z, sensor_value_to_double(&accel[2])); in sensor_timer_cb()
/Zephyr-latest/samples/sensor/mpu6050/
DREADME.rst43 accel -5.882554 -6.485893 5.868188 m/s/s
46 accel -5.841853 -6.435615 5.911283 m/s/s
49 accel -5.930438 -6.461951 6.009446 m/s/s
52 accel -5.884948 -6.524200 5.961562 m/s/s
55 accel -5.863400 -12.872426 -0.154427 m/s/s
58 accel -5.906496 -6.461951 5.899312 m/s/s
/Zephyr-latest/boards/st/stm32f411e_disco/
Dstm32f411e_disco_stm32f411xe_B.overlay16 /delete-node/ lsm303agr-accel@19;
24 lsm303dlhc_accel: lsm303dlhc-accel@19 {
25 compatible = "st,lis2dh", "st,lsm303dlhc-accel";
/Zephyr-latest/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-latest/boards/st/stm32f3_disco/
Dstm32f3_disco_stm32f303xc_E.overlay16 /delete-node/ lsm303dlhc-accel@19;
23 lsm303agr_accel: lsm303agr-accel@19 {
24 compatible = "st,lis2dh", "st,lsm303agr-accel";
/Zephyr-latest/samples/sensor/6dof_motion_drdy/
DREADME.rst49 [0:00:01.716]: temp 23.00 Cel accel 0.150839 -0.140065 9.994899 m/s/s gyro -0.001597 0.005859 …
50 [0:00:01.726]: temp 23.00 Cel accel 0.140065 -0.146050 9.988914 m/s/s gyro -0.002663 0.005859 …
51 [0:00:01.736]: temp 23.50 Cel accel 0.146050 -0.130487 9.988914 m/s/s gyro -0.001597 0.006391 …
52 [0:00:01.746]: temp 23.00 Cel accel 0.149642 -0.136473 9.990111 m/s/s gyro -0.002663 0.004261 …
53 [0:00:01.756]: temp 23.00 Cel accel 0.146050 -0.136473 9.979337 m/s/s gyro -0.002130 0.005326 …
54 [0:00:01.766]: temp 23.00 Cel accel 0.136473 -0.147247 9.986519 m/s/s gyro -0.001065 0.005859 …
/Zephyr-latest/tests/drivers/sensor/bmi160/boards/
Dnative_sim.overlay7 accel-0 = &bmi_spi;
8 accel-1 = &bmi_i2c;
/Zephyr-latest/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-latest/samples/sensor/accel_polling/src/
Dmain.c17 #define ACCEL_ALIAS(i) DT_ALIAS(_CONCAT(accel, i))
137 struct sensor_value accel[3]; in print_accels() local
146 ret = sensor_channel_get(dev, channels[i], &accel[i]); in print_accels()
154 sensor_value_to_double(&accel[0]), sensor_value_to_double(&accel[1]), in print_accels()
155 sensor_value_to_double(&accel[2])); in print_accels()
/Zephyr-latest/doc/hardware/peripherals/sensor/
Ddevice_tree.rst22 accel-pwr-mode = <ICM42688_ACCEL_LN>; /* Low noise mode */
23 accel-odr = <ICM42688_ACCEL_ODR_2000>; /* 2000 Hz sampling */
24 accel-fs = <ICM42688_ACCEL_FS_16>; /* 16G scale */
/Zephyr-latest/samples/sensor/tdk_apex/boards/
Dnrf52dk_nrf52832_spi.overlay27 accel-hz = <50>;
29 accel-fs = <16>;
Dnrf52dk_nrf52832_i2c.overlay28 accel-hz = <50>;
30 accel-fs = <16>;
/Zephyr-latest/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-latest/tests/drivers/build_all/sensor/
Di2c.dtsi143 accel-fs = <2>;
144 accel-dlpf = "5.05";
287 accel-odr = <ISM330DHCX_DT_ODR_104Hz>;
363 test_i2c_lsm303agr_accel: lsm303agr-accel@34 {
364 compatible = "st,lsm303agr-accel";
371 test_i2c_lsm303dlhc_accel: lsm303dlhc-accel@35 {
372 compatible = "st,lsm303dlhc-accel";
399 accel-pm = <LSM6DSO_DT_XL_ULP_MODE>;
400 accel-range = <LSM6DSO_DT_FS_8G>;
401 accel-odr = <LSM6DSO_DT_ODR_1Hz6>;
[all …]
Di3c.dtsi46 accel-range = <LSM6DSV16X_DT_FS_8G>;
47 accel-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
/Zephyr-latest/samples/sensor/6dof_motion_drdy/boards/
Dnrf52dk_nrf52832_spi.overlay28 accel-hz = <100>;
30 accel-fs = <16>;
Dnrf52dk_nrf52832_i2c.overlay30 accel-hz = <100>;
32 accel-fs = <16>;
/Zephyr-latest/boards/shields/x_nucleo_iks4a1/
Dx_nucleo_iks4a1.overlay21 accel-odr = <0x1b>;
30 accel-odr = <0x02>;

123