Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sensing_datatypes.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022-2023 Intel Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_SENSING_DATATYPES_H_
8#define ZEPHYR_INCLUDE_SENSING_DATATYPES_H_
9
10#include <stdint.h>
11#include <zephyr/dsp/types.h>
12
53
91
110
130
135#endif /*ZEPHYR_INCLUDE_SENSING_DATATYPES_H_*/
int32_t q31_t
32-bit fractional data type in 1.31 format.
Definition types.h:35
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
__INT8_TYPE__ int8_t
Definition stdint.h:72
Sensor value data structure types based on common data types.
Definition sensing_datatypes.h:67
struct sensing_sensor_value_header header
Header of the sensor value data structure.
Definition sensing_datatypes.h:69
uint32_t timestamp_delta
Timestamp delta of the reading.
Definition sensing_datatypes.h:73
q31_t y
Y value of the 3D vector.
Definition sensing_datatypes.h:85
q31_t z
Z value of the 3D vector.
Definition sensing_datatypes.h:86
q31_t x
X value of the 3D vector.
Definition sensing_datatypes.h:84
int8_t shift
The shift value for the q31_t v[3] reading.
Definition sensing_datatypes.h:70
struct sensing_sensor_value_3d_q31::@439 readings[1]
Array of readings.
sensor value header
Definition sensing_datatypes.h:47
uint16_t reading_count
Count of this data readings.
Definition sensing_datatypes.h:51
uint64_t base_timestamp
Base timestamp of this data readings, unit is micro seconds.
Definition sensing_datatypes.h:49
Sensor value data structure for single 1-axis value.
Definition sensing_datatypes.h:116
int8_t shift
The shift value for the q31_t v reading.
Definition sensing_datatypes.h:119
struct sensing_sensor_value_q31::@445 readings[1]
Array of readings.
q31_t v
Value of the reading.
Definition sensing_datatypes.h:127
struct sensing_sensor_value_header header
Header of the sensor value data structure.
Definition sensing_datatypes.h:118
uint32_t timestamp_delta
Timestamp delta of the reading.
Definition sensing_datatypes.h:122
Sensor value data structure for single 1-axis value.
Definition sensing_datatypes.h:97
uint32_t v
Value of the reading.
Definition sensing_datatypes.h:107
uint32_t timestamp_delta
Timestamp delta of the reading.
Definition sensing_datatypes.h:102
struct sensing_sensor_value_uint32::@444 readings[1]
Array of readings.
struct sensing_sensor_value_header header
Header of the sensor value data structure.
Definition sensing_datatypes.h:99