Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99
sensing_sensor_value_uint32 Struct Reference

Sensor value data structure for single 1-axis value. More...

#include <zephyr/sensing/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.

Detailed Description

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

Field Documentation

◆ header

struct sensing_sensor_value_header sensing_sensor_value_uint32::header

Header of the sensor value data structure.

◆ [struct]

struct { ... } sensing_sensor_value_uint32::readings[1]

Array of readings.

◆ timestamp_delta

uint32_t sensing_sensor_value_uint32::timestamp_delta

Timestamp delta of the reading.

Unit is micro seconds.

◆ v

uint32_t sensing_sensor_value_uint32::v

Value of the reading.

For SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT, the unit is luxs.


The documentation for this struct was generated from the following file: