Home
last modified time | relevance | path

Searched refs:SENSOR_ATTR_FULL_SCALE (Results 1 – 25 of 54) sorted by relevance

123

/Zephyr-latest/samples/sensor/mhz19b/src/
Dmain.c29 ret = sensor_attr_set(dev, SENSOR_CHAN_CO2, SENSOR_ATTR_FULL_SCALE, &val); in main()
46 ret = sensor_attr_get(dev, SENSOR_CHAN_CO2, SENSOR_ATTR_FULL_SCALE, &val); in main()
/Zephyr-latest/samples/sensor/bmi270/src/
Dmain.c35 sensor_attr_set(dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_FULL_SCALE, in main()
56 sensor_attr_set(dev, SENSOR_CHAN_GYRO_XYZ, SENSOR_ATTR_FULL_SCALE, in main()
/Zephyr-latest/tests/drivers/sensor/bmi160/src/
Dfixture.c28 zassert_ok(sensor_attr_set(dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_FULL_SCALE, &scale)); in sensor_bmi160_setup_emulator()
33 zassert_ok(sensor_attr_set(dev, SENSOR_CHAN_GYRO_XYZ, SENSOR_ATTR_FULL_SCALE, &scale)); in sensor_bmi160_setup_emulator()
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/
Dmain.c116 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config()
134 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config()
173 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
191 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
245 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2duxs12_config()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/
Dmain.c68 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2dlpc_config()
99 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
117 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/
Dmain.c71 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2dlpc_config()
125 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
143 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/
Dmain.c52 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2dw12_config()
83 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
101 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/src/
Dmain.c41 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
59 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/
Dmain.c41 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config()
59 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688.c139 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42688_attr_set()
152 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42688_attr_set()
198 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42688_attr_get()
211 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42688_attr_get()
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/
Dmain.c180 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2dw12_config()
211 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
229 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
268 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2de12_config()
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/
Dmain.c120 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2dlpc_config()
151 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2iclx_config()
205 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
223 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
/Zephyr-latest/samples/sensor/tmp112/src/
Dmain.c22 SENSOR_ATTR_FULL_SCALE, &attr); in do_main()
/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605.c274 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42605_attr_set()
299 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42605_attr_set()
336 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42605_attr_get()
350 } else if (attr == SENSOR_ATTR_FULL_SCALE) { in icm42605_attr_get()
/Zephyr-latest/drivers/sensor/ti/tmp112/
DKconfig25 with SENSOR_ATTR_FULL_SCALE and value to set either 128 or 150
Dtmp112.c79 case SENSOR_ATTR_FULL_SCALE: in tmp112_attr_set()
/Zephyr-latest/samples/boards/st/sensortile_box/src/
Dmain.c133 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2dw12_config()
164 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
182 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
/Zephyr-latest/tests/drivers/sensor/icm42688/src/
Dmain.c103 zassert_ok(sensor_attr_set(fixture->dev, SENSOR_CHAN_ACCEL_XYZ, SENSOR_ATTR_FULL_SCALE, in test_fetch_accel_with_range()
165 zassert_ok(sensor_attr_set(fixture->dev, SENSOR_CHAN_GYRO_XYZ, SENSOR_ATTR_FULL_SCALE, in test_fetch_gyro_with_range()
/Zephyr-latest/samples/sensor/bmg160/src/
Dmain.c193 SENSOR_ATTR_FULL_SCALE, &attr) < 0) { in main()
/Zephyr-latest/drivers/sensor/mhz19b/
Dmhz19b.c203 case SENSOR_ATTR_FULL_SCALE: in mhz19b_attr_set()
225 case SENSOR_ATTR_FULL_SCALE: in mhz19b_attr_get()
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c204 SENSOR_ATTR_FULL_SCALE, &a_fs_attr) < 0) { in main()
231 SENSOR_ATTR_FULL_SCALE, &g_fs_attr) < 0) { in main()
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c128 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
146 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.c234 case SENSOR_ATTR_FULL_SCALE: in lsm6dsv16x_accel_config()
324 case SENSOR_ATTR_FULL_SCALE: in lsm6dsv16x_gyro_config()
398 case SENSOR_ATTR_FULL_SCALE: in lsm6dsv16x_accel_get_config()
466 case SENSOR_ATTR_FULL_SCALE: in lsm6dsv16x_gyro_get_config()
/Zephyr-latest/drivers/sensor/maxim/max31875/
Dmax31875.c134 case SENSOR_ATTR_FULL_SCALE: in max31875_attr_set()
/Zephyr-latest/drivers/sensor/st/iis2dh/
Diis2dh.c170 case SENSOR_ATTR_FULL_SCALE: in iis2dh_config()

123