fix_dsp.h
来自「基于c的电动机保护程序」· C头文件 代码 · 共 24 行
H
24 行
#ifndef _DSP_H_#define _DSP_H_#ifndef __BOOL__INT__#define __BOOL__INT__typedef int BOOL;#endif#define LSB 0.0006103515625 /* +/-5V AD杈撳叆妯″紡 */ #define AD_ADDRESS *(unsigned short int*)0x300000 /* PG0 */ #define Q11 11 /*定点数定标*/#define Q12 12#define Q13 13#define FIX_POINT (2^Q12)#define FFT_SIZE 20#define HALF_SIZE (FFT_SIZE/2)#define D_HALF_SIZE (1/HALF_SIZE)#define HALF2BIT 4 /* 2^4 = 16 = HALF_SIZE */#define PI 3.141592653589756887729353#define READ_INDEX_INCREASE 3 /* 瀹氫箟璇绘寚閽堝
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?