Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/* Copyright (c) 2022 Google LLC
2 * SPDX-License-Identifier: Apache-2.0
3 */
4
5#ifndef INCLUDE_ZEPHYR_DSP_TYPES_H_
6#define INCLUDE_ZEPHYR_DSP_TYPES_H_
7
8#include <stdint.h>
9
15#ifdef __cplusplus
16extern "C" {
17#endif
18
23typedef int8_t q7_t;
24
29typedef int16_t q15_t;
30
35typedef int32_t q31_t;
36
41typedef int64_t q63_t;
42
47#if defined(CONFIG_FP16)
48typedef __fp16 float16_t;
49#endif /* CONFIG_FP16 */
50
55typedef float float32_t;
56
61typedef double float64_t;
62
63#ifdef __cplusplus
64}
65#endif
66
71#endif /* INCLUDE_ZEPHYR_DSP_TYPES_H_ */
float float32_t
32-bit floating-point type definition.
Definition types.h:55
int64_t q63_t
64-bit fractional data type in 1.63 format.
Definition types.h:41
__fp16 float16_t
16-bit floating point type definition.
Definition types.h:48
int16_t q15_t
16-bit fractional data type in 1.15 format.
Definition types.h:29
double float64_t
64-bit floating-point type definition.
Definition types.h:61
int32_t q31_t
32-bit fractional data type in 1.31 format.
Definition types.h:35
int8_t q7_t
8-bit fractional data type in 1.7 format.
Definition types.h:23
__INT32_TYPE__ int32_t
Definition stdint.h:74
__INT64_TYPE__ int64_t
Definition stdint.h:75
__INT8_TYPE__ int8_t
Definition stdint.h:72
__INT16_TYPE__ int16_t
Definition stdint.h:73