#include "arm_math.h"
#include "math_helper.h"
Go to the source code of this file.
Defines | |
#define | TEST_LENGTH_SAMPLES 320 |
#define | SNR_THRESHOLD_F32 140.0f |
#define | BLOCK_SIZE 32 |
#define | NUM_TAPS 29 |
Functions | |
int32_t | main (void) |
Variables | |
float32_t | testInput_f32_1kHz_15kHz [TEST_LENGTH_SAMPLES] |
float32_t | refOutput [TEST_LENGTH_SAMPLES] |
static float32_t | testOutput [TEST_LENGTH_SAMPLES] |
static float32_t | firStateF32 [BLOCK_SIZE+NUM_TAPS-1] |
const float32_t | firCoeffs32 [NUM_TAPS] |
uint32_t | blockSize = BLOCK_SIZE |
uint32_t | numBlocks = TEST_LENGTH_SAMPLES/BLOCK_SIZE |
float32_t | snr |
#define TEST_LENGTH_SAMPLES 320 |
Definition at line 110 of file arm_fir_example_f32.c.
#define SNR_THRESHOLD_F32 140.0f |
Definition at line 111 of file arm_fir_example_f32.c.
#define BLOCK_SIZE 32 |
Definition at line 112 of file arm_fir_example_f32.c.
#define NUM_TAPS 29 |
Definition at line 113 of file arm_fir_example_f32.c.
int32_t main | ( | void | ) |
Definition at line 160 of file arm_fir_example_f32.c.
float32_t testInput_f32_1kHz_15kHz[TEST_LENGTH_SAMPLES] |
float32_t refOutput[TEST_LENGTH_SAMPLES] |
float32_t testOutput[TEST_LENGTH_SAMPLES] [static] |
Definition at line 127 of file arm_fir_example_f32.c.
float32_t firStateF32[BLOCK_SIZE+NUM_TAPS-1] [static] |
Definition at line 133 of file arm_fir_example_f32.c.
const float32_t firCoeffs32[NUM_TAPS] |
{ -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 }
Definition at line 140 of file arm_fir_example_f32.c.
uint32_t blockSize = BLOCK_SIZE |
Definition at line 151 of file arm_fir_example_f32.c.
uint32_t numBlocks = TEST_LENGTH_SAMPLES/BLOCK_SIZE |
Definition at line 152 of file arm_fir_example_f32.c.
float32_t snr |
Definition at line 154 of file arm_fir_example_f32.c.