/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/src/ |
D | main.c | 26 struct sensor_value odr_attr, fs_attr; in lsm6dsv16x_config() local 29 odr_attr.val1 = 208; in lsm6dsv16x_config() 30 odr_attr.val2 = 0; in lsm6dsv16x_config() 33 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dsv16x_config() 47 odr_attr.val1 = 208; in lsm6dsv16x_config() 48 odr_attr.val2 = 0; in lsm6dsv16x_config() 51 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dsv16x_config() 65 odr_attr.val1 = 100; in lsm6dsv16x_config() 66 odr_attr.val2 = 0; in lsm6dsv16x_config() 70 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dsv16x_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/ |
D | main.c | 26 struct sensor_value odr_attr, fs_attr; in lsm6dso16is_config() local 29 odr_attr.val1 = 208; in lsm6dso16is_config() 30 odr_attr.val2 = 0; in lsm6dso16is_config() 33 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dso16is_config() 47 odr_attr.val1 = 208; in lsm6dso16is_config() 48 odr_attr.val2 = 0; in lsm6dso16is_config() 51 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dso16is_config() 65 odr_attr.val1 = 100; in lsm6dso16is_config() 66 odr_attr.val2 = 0; in lsm6dso16is_config() 70 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dso16is_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/ |
D | main.c | 37 struct sensor_value odr_attr, fs_attr; in lis2dw12_config() local 40 odr_attr.val1 = 100; in lis2dw12_config() 41 odr_attr.val2 = 0; in lis2dw12_config() 44 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lis2dw12_config() 68 struct sensor_value odr_attr, fs_attr; in lsm6dso_config() local 71 odr_attr.val1 = 208; in lsm6dso_config() 72 odr_attr.val2 = 0; in lsm6dso_config() 75 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dso_config() 89 odr_attr.val1 = 208; in lsm6dso_config() 90 odr_attr.val2 = 0; in lsm6dso_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/ |
D | main.c | 70 struct sensor_value odr_attr; in lis2mdl_config() local 73 odr_attr.val1 = 100; in lis2mdl_config() 74 odr_attr.val2 = 0; in lis2mdl_config() 77 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lis2mdl_config() 93 struct sensor_value odr_attr, fs_attr, mode_attr; in lsm6dso16is_config() local 104 odr_attr.val1 = 208; in lsm6dso16is_config() 105 odr_attr.val2 = 0; in lsm6dso16is_config() 108 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dso16is_config() 122 odr_attr.val1 = 208; in lsm6dso16is_config() 123 odr_attr.val2 = 0; in lsm6dso16is_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/ |
D | main.c | 96 struct sensor_value odr_attr; in lis2mdl_config() local 99 odr_attr.val1 = 100; in lis2mdl_config() 100 odr_attr.val2 = 0; in lis2mdl_config() 103 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lis2mdl_config() 119 struct sensor_value odr_attr; in lps22hh_config() local 122 odr_attr.val1 = 100; in lps22hh_config() 123 odr_attr.val2 = 0; in lps22hh_config() 126 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lps22hh_config() 142 struct sensor_value odr_attr; in stts751_config() local 145 odr_attr.val1 = 16; in stts751_config() [all …]
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/ |
D | main.c | 82 struct sensor_value odr_attr; in stts22h_config() local 85 odr_attr.val1 = 100; in stts22h_config() 86 odr_attr.val2 = 0; in stts22h_config() 89 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in stts22h_config() 105 struct sensor_value odr_attr, fs_attr; in iis2dlpc_config() local 108 odr_attr.val1 = 200; in iis2dlpc_config() 109 odr_attr.val2 = 0; in iis2dlpc_config() 112 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in iis2dlpc_config() 136 struct sensor_value odr_attr, fs_attr; in iis2iclx_config() local 139 odr_attr.val1 = 200; in iis2iclx_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/ |
D | main.c | 56 struct sensor_value odr_attr, fs_attr; in iis2dlpc_config() local 59 odr_attr.val1 = 100; in iis2dlpc_config() 60 odr_attr.val2 = 0; in iis2dlpc_config() 63 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in iis2dlpc_config() 87 struct sensor_value odr_attr; in iis2mdc_config() local 90 odr_attr.val1 = 100; in iis2mdc_config() 91 odr_attr.val2 = 0; in iis2mdc_config() 94 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in iis2mdc_config() 110 struct sensor_value odr_attr, fs_attr; in ism330dhcx_config() local 113 odr_attr.val1 = 416; in ism330dhcx_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 56 odr_attr.val1 = 100; in iis2dlpc_config() 57 odr_attr.val2 = 0; in iis2dlpc_config() 60 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in iis2dlpc_config() 84 struct sensor_value odr_attr, fs_attr; in ism330dhcx_config() local 87 odr_attr.val1 = 208; in ism330dhcx_config() 88 odr_attr.val2 = 0; in ism330dhcx_config() 91 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in ism330dhcx_config() 105 odr_attr.val1 = 208; in ism330dhcx_config() 106 odr_attr.val2 = 0; in ism330dhcx_config() [all …]
|
/Zephyr-latest/samples/boards/st/sensortile_box/src/ |
D | main.c | 95 struct sensor_value odr_attr; in lps22hh_config() local 98 odr_attr.val1 = 50; in lps22hh_config() 99 odr_attr.val2 = 0; in lps22hh_config() 102 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lps22hh_config() 118 struct sensor_value odr_attr, fs_attr; in lis2dw12_config() local 121 odr_attr.val1 = 100; in lis2dw12_config() 122 odr_attr.val2 = 0; in lis2dw12_config() 125 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lis2dw12_config() 149 struct sensor_value odr_attr, fs_attr; in lsm6dso_config() local 152 odr_attr.val1 = 208; in lsm6dso_config() [all …]
|
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/ |
D | main.c | 90 struct sensor_value odr_attr; in lps22df_config() local 93 odr_attr.val1 = 50; in lps22df_config() 94 odr_attr.val2 = 0; in lps22df_config() 97 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lps22df_config() 113 struct sensor_value odr_attr, fs_attr; in lsm6dsv16x_config() local 116 odr_attr.val1 = 208; in lsm6dsv16x_config() 117 odr_attr.val2 = 0; in lsm6dsv16x_config() 120 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in lsm6dsv16x_config() 134 odr_attr.val1 = 208; in lsm6dsv16x_config() 135 odr_attr.val2 = 0; in lsm6dsv16x_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/src/ |
D | main.c | 45 struct sensor_value odr_attr; in main() local 47 odr_attr.val1 = 104; in main() 48 odr_attr.val2 = 0; in main() 51 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main() 57 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main()
|
/Zephyr-latest/samples/sensor/lsm6dso/src/ |
D | main.c | 48 struct sensor_value odr_attr; in set_sampling_freq() local 51 odr_attr.val1 = 12.5; in set_sampling_freq() 52 odr_attr.val2 = 0; in set_sampling_freq() 55 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr); in set_sampling_freq() 62 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr); in set_sampling_freq()
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/ |
D | main.c | 61 struct sensor_value odr_attr; in main() local 63 odr_attr.val1 = 208; in main() 64 odr_attr.val2 = 0; in main() 67 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main() 73 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main()
|
/Zephyr-latest/samples/sensor/lsm6dsl/src/ |
D | main.c | 97 struct sensor_value odr_attr; in main() local 106 odr_attr.val1 = 104; in main() 107 odr_attr.val2 = 0; in main() 110 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main() 116 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main()
|