CMSIS-DSP  
CMSIS DSP Software Library
arm_fir_example_f32.c File Reference

Macros

#define TEST_LENGTH_SAMPLES   320
 
#define SNR_THRESHOLD_F32   75.0f
 
#define BLOCK_SIZE   32
 
#define NUM_TAPS_ARRAY_SIZE   29
 
#define NUM_TAPS   29
 

Functions

int32_t main (void)
 

Variables

float32_t testInput_f32_1kHz_15kHz [320]
 
float32_t refOutput [320]
 
const float32_t firCoeffs32 [29]
 
uint32_t blockSize = 32
 
uint32_t numBlocks = 320 / 32
 
float32_t snr
 

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   32

◆ NUM_TAPS

#define NUM_TAPS   29

◆ NUM_TAPS_ARRAY_SIZE

#define NUM_TAPS_ARRAY_SIZE   29

◆ SNR_THRESHOLD_F32

#define SNR_THRESHOLD_F32   75.0f

◆ TEST_LENGTH_SAMPLES

#define TEST_LENGTH_SAMPLES   320

Function Documentation

◆ main()

int32_t main ( void  )

Variable Documentation

◆ blockSize

uint32_t blockSize = 32

◆ firCoeffs32

const float32_t firCoeffs32[29]
Initial value:
= {
-0.0018225230f, -0.0015879294f, +0.0000000000f, +0.0036977508f, +0.0080754303f, +0.0085302217f, -0.0000000000f, -0.0173976984f,
-0.0341458607f, -0.0333591565f, +0.0000000000f, +0.0676308395f, +0.1522061835f, +0.2229246956f, +0.2504960933f, +0.2229246956f,
+0.1522061835f, +0.0676308395f, +0.0000000000f, -0.0333591565f, -0.0341458607f, -0.0173976984f, -0.0000000000f, +0.0085302217f,
+0.0080754303f, +0.0036977508f, +0.0000000000f, -0.0015879294f, -0.0018225230f
}
Examples
arm_fir_example_f32.c.

◆ numBlocks

uint32_t numBlocks = 320 / 32

◆ refOutput

float32_t refOutput[320]
extern

◆ snr

◆ testInput_f32_1kHz_15kHz

float32_t testInput_f32_1kHz_15kHz[320]
extern