Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sensor_attribute_types.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Google LLC
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ATTRIBUTE_TYPES_H
7#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ATTRIBUTE_TYPES_H
8
9#include <zephyr/dsp/types.h>
11
12#include <inttypes.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
29 union {
30 struct {
34 };
36 };
37};
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_ATTRIBUTE_TYPES_H */
int32_t q31_t
32-bit fractional data type in 1.31 format.
Definition types.h:35
__INT8_TYPE__ int8_t
Definition stdint.h:72
Used by the following channel/attribute pairs:
Definition sensor_attribute_types.h:27
int8_t shift
Definition sensor_attribute_types.h:28
q31_t y
Definition sensor_attribute_types.h:32
q31_t x
Definition sensor_attribute_types.h:31
q31_t values[3]
Definition sensor_attribute_types.h:35
q31_t z
Definition sensor_attribute_types.h:33