📄 test.c
字号:
#include "..\include\c54fir.h"
#include "test.dat"
void main()
{
dptr=p;
/* clear delay buffer */
p[ 0]=p[ 1]=p[ 2]=p[ 3]=p[ 4]=p[ 5]=p[ 6]=p[ 7]=0;
p[ 8]=p[ 9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=0;
x[0] = 0x3000; x[1] = 0x3000;
oflag = cfir( x, y, x, &dptr, 8, 1);
x[0] = 0x2000; x[1] = 0x2000;
oflag = cfir( x, y, x, &dptr, 8, 1);
x[0] = 0x1000; x[1] = 0x1000;
oflag = cfir( x, y, x, &dptr, 8, 1);
x[0] = 0x0000; x[1] = 0x0000;
oflag = cfir( x, y, x, &dptr, 8, 1);
x[0] = 0xf000; x[1] = 0xf000;
oflag = cfir( x, y, x, &dptr, 8, 1);
x[0] = 0xe000; x[1] = 0xe000;
oflag = cfir( x, y, x, &dptr, 8, 1);
p[ 0]=p[ 1]=p[ 2]=p[ 3]=p[ 4]=p[ 5]=p[ 6]=p[ 7]=0;
p[ 8]=p[ 9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=0;
x[0] = x[1] = 0x3000;
oflag = cfir( x, y, x, &dptr, 8, 16);
for(;;){}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -