firlpf1500.h

来自「a good project in embedded system」· C头文件 代码 · 共 30 行

H
30
字号
#ifndef FIRLPF1500_H
#define FIRLPF1500_H

extern FIRFilterStructure firLPF1500Filter;

#endif /* FIRLPF1500_H */

/* The following C-code fragment demonstrates how to call the filter routine
#include "FIR_Filter.h"
#include "firLPF1500.h"

// NUM_SAMPLES defines the number of samples in one block of input data.
// This value should be changed as needed for the application
#define NUM_SAMPLES 100

{
   // Declare input and output sample arrays.
   int  inSamples[NUM_SAMPLES], outSamples[NUM_SAMPLES];


   // Call the FIRFilterInit routine to zero out the delay line
   FIRFilterInit( &firLPF1500Filter );

   // Call BlockFIRFilter for each block of input samples
   // This routine would normally be called inside a FOR or a DO-WHILE loop
   // Only one instance has been shown
   BlockFIRFilter( &firLPF1500Filter, &inSamples, &outSamples, NUM_SAMPLES );
}
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?