Home
last modified time | relevance | path

Searched refs:thresh_value (Results 1 – 2 of 2) sorted by relevance

/Zephyr-4.1.0/drivers/sensor/wsen/wsen_tids_2521020222501/
Dwsen_tids_2521020222501_trigger.c172 const struct sensor_value *thresh_value) in tids_2521020222501_threshold_upper_set() argument
175 int32_t thresh = thresh_value->val1 * 1000 + thresh_value->val2 / 1000; in tids_2521020222501_threshold_upper_set()
188 struct sensor_value *thresh_value) in tids_2521020222501_threshold_upper_get() argument
198 thresh_value->val1 = thresh / 1000; in tids_2521020222501_threshold_upper_get()
199 thresh_value->val2 = (thresh % 1000) * (1000000 / 1000); in tids_2521020222501_threshold_upper_get()
205 const struct sensor_value *thresh_value) in tids_2521020222501_threshold_lower_set() argument
208 int32_t thresh = thresh_value->val1 * 1000 + thresh_value->val2 / 1000; in tids_2521020222501_threshold_lower_set()
221 struct sensor_value *thresh_value) in tids_2521020222501_threshold_lower_get() argument
231 thresh_value->val1 = thresh / 1000; in tids_2521020222501_threshold_lower_get()
232 thresh_value->val2 = (thresh % 1000) * (1000000 / 1000); in tids_2521020222501_threshold_lower_get()
Dwsen_tids_2521020222501.h79 const struct sensor_value *thresh_value);
82 struct sensor_value *thresh_value);
85 const struct sensor_value *thresh_value);
88 struct sensor_value *thresh_value);