![]() |
nRF Connect SDK API 3.3.99
|
#include <zephyr/drivers/sensor.h>Go to the source code of this file.
Data Structures | |
| struct | caf_sampled_channel |
| Description of single channel. More... | |
Macros | |
| #define | FLOAT_TO_SENSOR_VAL_CONST 1000000 |
| #define | FLOAT_TO_SENSOR_VALUE(float_val) |
Functions | |
| static bool | sensor_value_greater_then (struct sensor_value sensor_val1, struct sensor_value sensor_val2) |
| Helper function for checking if one sensor_value is greater than the other. | |
| static struct sensor_value | sensor_value_abs_difference (struct sensor_value sensor_val1, struct sensor_value sensor_val2) |
| Helper function for calculating absolute value of difference of two sensor_values. | |