params.h
来自「ICETEK-C6711-A开发板所的模块fft程序」· C头文件 代码 · 共 45 行
H
45 行
/******************************************************************************
FILE
params.h - This is the C header file for example real FFT
implemetations.
******************************************************************************/
#define TRUE 1
#define FALSE 0
#define BE TRUE
#define LE FALSE
#define ENDIAN LE /* selects proper endianaess. If
buliding code in Big Endian,
use BE, else use LE */
#define PI 3.141592653589793 /* defineition of pi */
/* Some functions used in the example implementations use word loads which make
the code endianess dependent. Thus, one of the below definitions need to be
used depending on the endianess you are using to build your code */
/* BIG Endian */
#if ENDIAN == TRUE
typedef struct {
short imag;
short real;
} COMPLEX;
#else
/* LITTLE Endian */
typedef struct {
short real;
short imag;
} COMPLEX;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?