Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dsp.h
Go to the documentation of this file.
1/* Copyright (c) 2022 Google LLC
2 * SPDX-License-Identifier: Apache-2.0
3 */
4
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#include <zephyr/dsp/types.h>
40
42
44
45#include "zdsp_backend.h"
46
47#endif /* ZEPHYR_INCLUDE_DSP_DSP_H_ */
Public APIs for DSP basicmath.