Home
last modified time | relevance | path

Searched refs:sensor_value (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/Zephyr-latest/drivers/sensor/
Dsensor_handlers.c13 const struct sensor_value *val) in z_vrfy_sensor_attr_set()
16 K_OOPS(K_SYSCALL_MEMORY_READ(val, sizeof(struct sensor_value))); in z_vrfy_sensor_attr_set()
18 (const struct sensor_value *)val); in z_vrfy_sensor_attr_set()
25 struct sensor_value *val) in z_vrfy_sensor_attr_get()
28 K_OOPS(K_SYSCALL_MEMORY_WRITE(val, sizeof(struct sensor_value))); in z_vrfy_sensor_attr_get()
30 (struct sensor_value *)val); in z_vrfy_sensor_attr_get()
52 struct sensor_value *val) in z_vrfy_sensor_channel_get()
55 K_OOPS(K_SYSCALL_MEMORY_WRITE(val, sizeof(struct sensor_value))); in z_vrfy_sensor_channel_get()
57 (struct sensor_value *)val); in z_vrfy_sensor_channel_get()
Dshell_battery.c32 struct sensor_value *val; in get_channels()
39 val = va_arg(ptr, struct sensor_value *); in get_channels()
54 struct sensor_value temp, volt, current, i_desired, charge_remain; in cmd_battery()
55 struct sensor_value charge, v_desired, v_design, cap, nom_cap; in cmd_battery()
56 struct sensor_value full, empty; in cmd_battery()
/Zephyr-latest/samples/sensor/lsm6dsl/src/
Dmain.c16 static struct sensor_value accel_x_out, accel_y_out, accel_z_out;
17 static struct sensor_value gyro_x_out, gyro_y_out, gyro_z_out;
19 static struct sensor_value magn_x_out, magn_y_out, magn_z_out;
22 static struct sensor_value press_out, temp_out;
29 static struct sensor_value accel_x, accel_y, accel_z; in lsm6dsl_trigger_handler()
30 static struct sensor_value gyro_x, gyro_y, gyro_z; in lsm6dsl_trigger_handler()
32 static struct sensor_value magn_x, magn_y, magn_z; in lsm6dsl_trigger_handler()
35 static struct sensor_value press, temp; in lsm6dsl_trigger_handler()
97 struct sensor_value odr_attr; in main()
/Zephyr-latest/samples/sensor/tmp108/src/
Dmain.c17 struct sensor_value temp_value; in temperature_one_shot()
37 struct sensor_value temp_flags = { 0 }; in temperature_alert()
57 struct sensor_value alert_upper_thresh = { in enable_temp_alerts()
62 struct sensor_value alert_lower_thresh = { in enable_temp_alerts()
67 struct sensor_value alert_hysterisis = { 1, 0 }; in enable_temp_alerts()
68 struct sensor_value thermostat_mode = { 0, 0 }; in enable_temp_alerts()
116 struct sensor_value temp_value; in get_temperature_continuous()
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c27 static inline float out_ev(struct sensor_value *val) in out_ev()
40 struct sensor_value accel_x, accel_y, accel_z; in lsm6dsl_trigger_handler()
41 struct sensor_value gyro_x, gyro_y, gyro_z; in lsm6dsl_trigger_handler()
44 struct sensor_value magn_x, magn_y, magn_z; in lsm6dsl_trigger_handler()
47 struct sensor_value press, temp; in lsm6dsl_trigger_handler()
184 struct sensor_value a_odr_attr; in main()
198 struct sensor_value a_fs_attr; in main()
211 struct sensor_value g_odr_attr; in main()
225 struct sensor_value g_fs_attr; in main()
262 struct sensor_value temp, press; in main()
[all …]
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
Dphy_3d_sensor.h18 void (*q31_to_sensor_value)(q31_t q31, struct sensor_value *val);
19 q31_t (*sensor_value_to_q31)(struct sensor_value *val);
23 struct sensor_value sensitivities[PHY_3D_SENSOR_CHANNEL_NUM];
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dboard.h21 int get_hdc1010_val(struct sensor_value *val);
22 int get_mma8652_val(struct sensor_value *val);
23 int get_apds9960_val(struct sensor_value *val);
/Zephyr-latest/samples/sensor/sgp40_sht4x/src/
Dmain.c27 struct sensor_value comp_t; in main()
28 struct sensor_value comp_rh; in main()
32 struct sensor_value temp, hum, gas; in main()
45 struct sensor_value heater_p; in main()
46 struct sensor_value heater_d; in main()
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_calibration/src/
Dmock_temp_nrf5.c15 static struct sensor_value value;
17 void mock_temp_nrf5_value_set(struct sensor_value *val) in mock_temp_nrf5_value_set()
31 struct sensor_value *val) in mock_temp_nrf5_channel_get()
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/src/
Dmain.c30 struct sensor_value temp, press; in main()
33 struct sensor_value magn[3]; in main()
35 struct sensor_value accel[3]; in main()
36 struct sensor_value gyro[3]; in main()
45 struct sensor_value odr_attr; in main()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h51 struct sensor_value { struct
392 const struct sensor_value *val);
403 struct sensor_value *val);
430 struct sensor_value *val);
732 const struct sensor_value *val);
737 const struct sensor_value *val) in z_impl_sensor_attr_set()
764 struct sensor_value *val);
769 struct sensor_value *val) in z_impl_sensor_attr_get()
901 struct sensor_value *val);
905 struct sensor_value *val) in z_impl_sensor_channel_get()
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/
Dmain.c96 struct sensor_value odr_attr; in lis2mdl_config()
119 struct sensor_value odr_attr; in lps22hh_config()
142 struct sensor_value odr_attr; in stts751_config()
165 struct sensor_value odr_attr, fs_attr; in lis2dw12_config()
196 struct sensor_value odr_attr, fs_attr; in lsm6dso_config()
253 struct sensor_value odr_attr, fs_attr; in lis2de12_config()
284 struct sensor_value temp1, temp2, temp3, hum, press; in main()
286 struct sensor_value die_temp; in main()
288 struct sensor_value die_temp2; in main()
289 struct sensor_value accel1[3], accel2[3]; in main()
[all …]
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/
Dmain.c82 struct sensor_value odr_attr; in stts22h_config()
105 struct sensor_value odr_attr, fs_attr; in iis2dlpc_config()
136 struct sensor_value odr_attr, fs_attr; in iis2iclx_config()
167 struct sensor_value odr_attr; in iis2mdc_config()
190 struct sensor_value odr_attr, fs_attr; in ism330dhcx_config()
243 struct sensor_value odr_attr; in ilps22qs_config()
348 struct sensor_value stts22h_temp; in main()
349 struct sensor_value iis2dlpc_accel[3]; in main()
350 struct sensor_value iis2mdc_magn[3]; in main()
351 struct sensor_value iis2mdc_temp; in main()
[all …]
/Zephyr-latest/samples/shields/npm1300_ek/src/
Dmain.c78 struct sensor_value volt; in read_sensors()
79 struct sensor_value current; in read_sensors()
80 struct sensor_value temp; in read_sensors()
81 struct sensor_value error; in read_sensors()
82 struct sensor_value status; in read_sensors()
83 struct sensor_value vbus_present; in read_sensors()
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/src/
Dmain.c26 struct sensor_value odr_attr, fs_attr; in lsm6dsv16x_config()
101 struct sensor_value lsm6dsv16x_xl[3], lsm6dsv16x_gy[3]; in main()
103 struct sensor_value lsm6dsv16x_temp; in main()
106 struct sensor_value lis2mdl_magn[3]; in main()
109 struct sensor_value lps22df_press; in main()
110 struct sensor_value lps22df_temp; in main()
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/
Dmain.c26 struct sensor_value odr_attr, fs_attr; in lsm6dso16is_config()
101 struct sensor_value lsm6dso16is_xl[3], lsm6dso16is_gy[3]; in main()
103 struct sensor_value lsm6dso16is_temp; in main()
106 struct sensor_value lis2mdl_magn[3]; in main()
109 struct sensor_value lps22df_press; in main()
110 struct sensor_value lps22df_temp; in main()
/Zephyr-latest/samples/sensor/ms5837/src/
Dmain.c17 struct sensor_value oversampling_rate = { 8192, 0 }; in main()
39 struct sensor_value temp; in main()
40 struct sensor_value press; in main()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/
Dmain.c56 struct sensor_value odr_attr, fs_attr; in iis2dlpc_config()
87 struct sensor_value odr_attr; in iis2mdc_config()
110 struct sensor_value odr_attr, fs_attr; in ism330dhcx_config()
164 struct sensor_value die_temp; in main()
166 struct sensor_value die_temp2; in main()
167 struct sensor_value accel1[3], accel2[3]; in main()
168 struct sensor_value gyro[3]; in main()
169 struct sensor_value magn[3]; in main()
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/
Dmain.c37 struct sensor_value odr_attr, fs_attr; in lis2dw12_config()
68 struct sensor_value odr_attr, fs_attr; in lsm6dso_config()
147 struct sensor_value temp2, press; in main()
150 struct sensor_value hum; in main()
153 struct sensor_value die_temp; in main()
155 struct sensor_value accel1[3], accel2[3]; in main()
156 struct sensor_value gyro[3]; in main()
157 struct sensor_value magn[3]; in main()
/Zephyr-latest/samples/sensor/amg88xx/src/
Dmain.c12 static struct sensor_value temp_value[64];
30 struct sensor_value *tv = ptr; in print_buffer()
64 struct sensor_value attr = { in main()
99 (struct sensor_value *)temp_value); in main()
/Zephyr-latest/samples/boards/st/sensortile_box/src/
Dmain.c95 struct sensor_value odr_attr; in lps22hh_config()
118 struct sensor_value odr_attr, fs_attr; in lis2dw12_config()
149 struct sensor_value odr_attr, fs_attr; in lsm6dso_config()
206 struct sensor_value odr_attr; in stts751_config()
229 struct sensor_value odr_attr; in iis3dhhc_config()
337 struct sensor_value hts221_hum, hts221_temp; in main()
338 struct sensor_value lps22hh_press, lps22hh_temp; in main()
339 struct sensor_value lis2dw12_accel[3]; in main()
340 struct sensor_value iis3dhhc_accel[3]; in main()
341 struct sensor_value lsm6dso_accel[3], lsm6dso_gyro[3]; in main()
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/
Dmain.c70 struct sensor_value odr_attr; in lis2mdl_config()
93 struct sensor_value odr_attr, fs_attr, mode_attr; in lsm6dso16is_config()
150 struct sensor_value odr_attr, fs_attr, mode_attr; in lsm6dsv16x_config()
207 struct sensor_value odr_attr; in lps22df_config()
230 struct sensor_value odr_attr, fs_attr; in lis2duxs12_config()
261 struct sensor_value lis2mdl_magn[3], lis2mdl_temp, lps22df_press, lps22df_temp; in main()
262 struct sensor_value lsm6dso16is_xl[3], lsm6dso16is_gy[3]; in main()
264 struct sensor_value lsm6dso16is_temp; in main()
267 struct sensor_value lsm6dsv16x_temp; in main()
269 struct sensor_value lsm6dsv16x_xl[3], lsm6dsv16x_gy[3]; in main()
[all …]
/Zephyr-latest/samples/sensor/jc42/src/
Dmain.c44 const struct sensor_value *temp) in set_window()
49 struct sensor_value val = { in set_window()
74 struct sensor_value val = { in set_window_ucel()
85 struct sensor_value temp; in trigger_handler()
137 struct sensor_value temp; in main()
/Zephyr-latest/samples/sensor/tdk_apex/src/
Dmain.c77 struct sensor_value apex_mode; in main()
113 struct sensor_value apex_pedometer[3]; in main()
125 struct sensor_value apex_tilt; in main()
132 struct sensor_value apex_wom[3]; in main()
139 struct sensor_value apex_smd; in main()
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c90 struct sensor_value odr_attr; in lps22df_config()
113 struct sensor_value odr_attr, fs_attr; in lsm6dsv16x_config()
170 struct sensor_value odr_attr; in lis2mdl_config()
193 struct sensor_value odr_attr; in lis2du12_config()
216 struct sensor_value odr_attr; in stts22h_config()
336 struct sensor_value lps22df_press, lps22df_temp; in main()
337 struct sensor_value lsm6dsv16x_accel[3], lsm6dsv16x_gyro[3]; in main()
338 struct sensor_value lis2mdl_magn[3]; in main()
339 struct sensor_value lis2mdl_temp; in main()
340 struct sensor_value lis2du12_accel[3]; in main()
[all …]

12345678910>>...16