Microchip® Advanced Software Framework

arm_linear_interp_example_f32.c File Reference
#include <asf.h>
#include "arm_math.h"
#include "math_helper.h"

Macros

#define SNR_THRESHOLD   90
 
#define TEST_LENGTH_SAMPLES   10
 
#define XSPACING   (0.00005f)
 

Functions

int32_t main (void)
 

Variables

float arm_linear_interep_table [188495]
 
float32_t snr1
 
float32_t snr2
 
float32_t testInputSin_f32 [TEST_LENGTH_SAMPLES]
 
float32_t testLinIntOutput [TEST_LENGTH_SAMPLES]
 
float32_t testOutput [TEST_LENGTH_SAMPLES]
 
float32_t testRefSinOutput32_f32 [TEST_LENGTH_SAMPLES]
 

#define SNR_THRESHOLD   90
#define TEST_LENGTH_SAMPLES   10

Referenced by main().

#define XSPACING   (0.00005f)

Referenced by main().

float arm_linear_interep_table[188495]

Referenced by main().

float32_t snr1

Referenced by main().

float32_t snr2

Referenced by main().

float32_t testInputSin_f32[TEST_LENGTH_SAMPLES]
Initial value:
=
{
-0.649716504673081170, -2.501723745497831200,
0.188250329003310100, 0.432092748487532540,
-1.722010988459680800, 1.788766476323060600,
1.786136060975809500, -0.056525543169408797,
0.491596272728153760, 0.262309671126153390
}

Referenced by main().

float32_t testLinIntOutput[TEST_LENGTH_SAMPLES]

Referenced by main().

float32_t testOutput[TEST_LENGTH_SAMPLES]
float32_t testRefSinOutput32_f32[TEST_LENGTH_SAMPLES]
Initial value:
=
{
-0.604960695383043530, -0.597090287967934840,
0.187140422442966500, 0.418772124875992690,
-0.988588831792106880, 0.976338412038794010,
0.976903856413481100, -0.056495446835214236,
0.472033731854734240, 0.259311907228582830
}

Referenced by main().