Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
 4.2.0-rc3
dsp.h
Go to the documentation of this file.
1/* Copyright (c) 2022 Google LLC
2 * SPDX-License-Identifier: Apache-2.0
3 */
4
10
11#ifndef ZEPHYR_INCLUDE_DSP_DSP_H_
12#define ZEPHYR_INCLUDE_DSP_DSP_H_
13
14#ifdef CONFIG_DSP_BACKEND_HAS_STATIC
15#define DSP_FUNC_SCOPE static
16#else
17#define DSP_FUNC_SCOPE
18#endif
19
20#ifdef CONFIG_DSP_BACKEND_HAS_AGU
21#define DSP_DATA __agu
22#else
23#define DSP_DATA
24#endif
25
26#ifdef CONFIG_DSP_BACKEND_HAS_XDATA_SECTION
27#define DSP_STATIC_DATA DSP_DATA __attribute__((section(".Xdata")))
28#else
29#define DSP_STATIC_DATA DSP_DATA
30#endif
31
39
40#include <zephyr/dsp/types.h>
41
43
45
46#include "zdsp_backend.h"
47
48#endif /* ZEPHYR_INCLUDE_DSP_DSP_H_ */
Public APIs for DSP basicmath.