Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Sensor value data structure for single 1-axis value. More...
#include <sensing_datatypes.h>
Data Fields | ||
struct sensing_sensor_value_header | header | |
Header of the sensor value data structure. | ||
struct { | ||
uint32_t timestamp_delta | ||
Timestamp delta of the reading. More... | ||
uint32_t v | ||
Value of the reading. More... | ||
} | readings [1] | |
Array of readings. | ||
Sensor value data structure for single 1-axis value.
struct sensing_sensor_value_uint32 can be used by SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT sensor uint32_t version
struct sensing_sensor_value_header sensing_sensor_value_uint32::header |
Header of the sensor value data structure.
struct { ... } sensing_sensor_value_uint32::readings[1] |
Array of readings.
uint32_t sensing_sensor_value_uint32::timestamp_delta |
Timestamp delta of the reading.
Unit is micro seconds.
uint32_t sensing_sensor_value_uint32::v |
Value of the reading.
For SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT, the unit is luxs.