|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
#include <zephyr/drivers/sensor.h>
Data Fields | |
| uint64_t | timestamp_ns |
| The timestamp at which the data was collected from the sensor. | |
| uint32_t | num_channels |
| int8_t | shift |
| Shift value for all samples in the frame. | |
| struct sensor_chan_spec | channels [0] |
| Channels present in the frame. | |
| struct sensor_chan_spec sensor_data_generic_header::channels[0] |
Channels present in the frame.
| uint32_t sensor_data_generic_header::num_channels |
| int8_t sensor_data_generic_header::shift |
Shift value for all samples in the frame.
| uint64_t sensor_data_generic_header::timestamp_ns |
The timestamp at which the data was collected from the sensor.