/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/ |
D | main.c | 93 struct sensor_value odr_attr, fs_attr, mode_attr; in lsm6dso16is_config() local 113 sensor_g_to_ms2(16, &fs_attr); in lsm6dso16is_config() 116 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config() 131 sensor_degrees_to_rad(250, &fs_attr); in lsm6dso16is_config() 134 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config() 150 struct sensor_value odr_attr, fs_attr, mode_attr; in lsm6dsv16x_config() local 170 sensor_g_to_ms2(16, &fs_attr); in lsm6dsv16x_config() 173 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config() 188 sensor_degrees_to_rad(250, &fs_attr); in lsm6dsv16x_config() 191 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/ |
D | main.c | 53 struct sensor_value odr_attr, fs_attr; in iis2dlpc_config() local 65 sensor_g_to_ms2(16, &fs_attr); in iis2dlpc_config() 68 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2dlpc_config() 84 struct sensor_value odr_attr, fs_attr; in ism330dhcx_config() local 96 sensor_g_to_ms2(16, &fs_attr); in ism330dhcx_config() 99 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config() 114 sensor_degrees_to_rad(250, &fs_attr); in ism330dhcx_config() 117 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/ |
D | main.c | 56 struct sensor_value odr_attr, fs_attr; in iis2dlpc_config() local 68 sensor_g_to_ms2(16, &fs_attr); in iis2dlpc_config() 71 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2dlpc_config() 110 struct sensor_value odr_attr, fs_attr; in ism330dhcx_config() local 122 sensor_g_to_ms2(16, &fs_attr); in ism330dhcx_config() 125 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config() 140 sensor_degrees_to_rad(250, &fs_attr); in ism330dhcx_config() 143 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config()
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/ |
D | main.c | 37 struct sensor_value odr_attr, fs_attr; in lis2dw12_config() local 49 sensor_g_to_ms2(16, &fs_attr); in lis2dw12_config() 52 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2dw12_config() 68 struct sensor_value odr_attr, fs_attr; in lsm6dso_config() local 80 sensor_g_to_ms2(16, &fs_attr); in lsm6dso_config() 83 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config() 98 sensor_degrees_to_rad(250, &fs_attr); in lsm6dso_config() 101 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/src/ |
D | main.c | 26 struct sensor_value odr_attr, fs_attr; in lsm6dsv16x_config() local 38 sensor_g_to_ms2(16, &fs_attr); in lsm6dsv16x_config() 41 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config() 56 sensor_degrees_to_rad(250, &fs_attr); in lsm6dsv16x_config() 59 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/ |
D | main.c | 26 struct sensor_value odr_attr, fs_attr; in lsm6dso16is_config() local 38 sensor_g_to_ms2(16, &fs_attr); in lsm6dso16is_config() 41 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config() 56 sensor_degrees_to_rad(250, &fs_attr); in lsm6dso16is_config() 59 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso16is_config()
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/ |
D | main.c | 165 struct sensor_value odr_attr, fs_attr; in lis2dw12_config() local 177 sensor_g_to_ms2(16, &fs_attr); in lis2dw12_config() 180 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2dw12_config() 196 struct sensor_value odr_attr, fs_attr; in lsm6dso_config() local 208 sensor_g_to_ms2(16, &fs_attr); in lsm6dso_config() 211 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config() 226 sensor_degrees_to_rad(250, &fs_attr); in lsm6dso_config() 229 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config() 253 struct sensor_value odr_attr, fs_attr; in lis2de12_config() local 265 sensor_g_to_ms2(2, &fs_attr); in lis2de12_config() [all …]
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/ |
D | main.c | 105 struct sensor_value odr_attr, fs_attr; in iis2dlpc_config() local 117 sensor_g_to_ms2(16, &fs_attr); in iis2dlpc_config() 120 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2dlpc_config() 136 struct sensor_value odr_attr, fs_attr; in iis2iclx_config() local 148 sensor_g_to_ms2(2, &fs_attr); in iis2iclx_config() 151 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in iis2iclx_config() 190 struct sensor_value odr_attr, fs_attr; in ism330dhcx_config() local 202 sensor_g_to_ms2(16, &fs_attr); in ism330dhcx_config() 205 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in ism330dhcx_config() 220 sensor_degrees_to_rad(250, &fs_attr); in ism330dhcx_config() [all …]
|
/Zephyr-latest/samples/boards/st/sensortile_box/src/ |
D | main.c | 118 struct sensor_value odr_attr, fs_attr; in lis2dw12_config() local 130 sensor_g_to_ms2(16, &fs_attr); in lis2dw12_config() 133 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lis2dw12_config() 149 struct sensor_value odr_attr, fs_attr; in lsm6dso_config() local 161 sensor_g_to_ms2(16, &fs_attr); in lsm6dso_config() 164 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config() 179 sensor_degrees_to_rad(250, &fs_attr); in lsm6dso_config() 182 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dso_config()
|
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/ |
D | main.c | 113 struct sensor_value odr_attr, fs_attr; in lsm6dsv16x_config() local 125 sensor_g_to_ms2(16, &fs_attr); in lsm6dsv16x_config() 128 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config() 143 sensor_degrees_to_rad(250, &fs_attr); in lsm6dsv16x_config() 146 SENSOR_ATTR_FULL_SCALE, &fs_attr) < 0) { in lsm6dsv16x_config()
|