nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ sensor_event_get_data_cnt()

static size_t sensor_event_get_data_cnt ( const struct sensor_event event)
inlinestatic

#include <include/caf/events/sensor_event.h>

Get size of sensor data.

Parameters
[in]eventPointer to the sensor_event.
Returns
Size of the sensor data, expressed as a number of struct sensor_value.