nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
CAF Sensor Common

CAF Sensor Common. More...

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.
 

Detailed Description

CAF Sensor Common.