Atmel Software Framework

dsp32_iirpart/iirpart_example.c File Reference
#include <avr32/io.h>
#include "compiler.h"
#include "board.h"
#include "dsp.h"
#include "dsp_debug.h"
#include "pm.h"
#include "cycle_counter.h"

Macros

#define DEN_SIZE   18
 
#define NUM_SIZE   19
 
#define PREDIV   2
 
#define SIZE   144
 The size of the input signal. More...
 

Functions

int main (int argc, char *argv[])
 The main function. More...
 

Variables

A_ALIGNED dsp32_t den [DEN_SIZE]
 
A_ALIGNED dsp32_t num [NUM_SIZE]
 
A_ALIGNED dsp32_t x [SIZE+NUM_SIZE]
 The input signal. More...
 
A_ALIGNED dsp32_t y [SIZE+DEN_SIZE]
 The output buffer. More...
 

#define DEN_SIZE   18

Referenced by main().

#define NUM_SIZE   19

Referenced by main().

#define PREDIV   2

Referenced by main().

#define SIZE   144

The size of the input signal.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Initial value:
= {
DSP32_Q(0.0000000000000001427/(1 << PREDIV)),
DSP32_Q(2.4446755/(1 << PREDIV)),
DSP32_Q(0.0000000000000002630/(1 << PREDIV)),
DSP32_Q(2.3222667/(1 << PREDIV)),
DSP32_Q(0.0000000000000002022/(1 << PREDIV)),
DSP32_Q(1.1033779/(1 << PREDIV)),
DSP32_Q(0.0000000000000000792/(1 << PREDIV)),
DSP32_Q(0.2817442/(1 << PREDIV)),
DSP32_Q(0.00000000000000001608/(1 << PREDIV)),
DSP32_Q(0.0387225/(1 << PREDIV)),
DSP32_Q(0.000000000000000001608/(1 << PREDIV)),
DSP32_Q(0.0027201/(1 << PREDIV)),
DSP32_Q(0.00000000000000000007254/(1 << PREDIV)),
DSP32_Q(0.00008640036584533501/(1 << PREDIV)),
DSP32_Q(0.000000000000000000001232/(1 << PREDIV)),
DSP32_Q(0.0000009/(1 << PREDIV)),
DSP32_Q(-0.00000000000000000000/(1 << PREDIV)),
}
#define PREDIV
Definition: dsp32_iirpart/iirpart_example.c:99
#define DSP32_Q(fnum)
Convert a float into a 32-bit signed fixed-point type.
Definition: dsp_types.h:301

Referenced by dsp16_op_div(), dsp16_win_kaiser(), dsp32_op_div(), dsp32_win_kaiser(), dsp_debug_sprint_after_radix(), dsp_sprint_after_radix(), main(), and make_odither_array().

Initial value:
= {
DSP32_Q(0.0000274/(1 << PREDIV)),
DSP32_Q(0.0004939/(1 << PREDIV)),
DSP32_Q(0.0041985/(1 << PREDIV)),
DSP32_Q(0.0223922/(1 << PREDIV)),
DSP32_Q(0.0839706/(1 << PREDIV)),
DSP32_Q(0.2351178/(1 << PREDIV)),
DSP32_Q(0.5094219/(1 << PREDIV)),
DSP32_Q(0.8732946/(1 << PREDIV)),
DSP32_Q(1.2007801/(1 << PREDIV)),
DSP32_Q(1.3342001/(1 << PREDIV)),
DSP32_Q(1.2007801/(1 << PREDIV)),
DSP32_Q(0.8732946/(1 << PREDIV)),
DSP32_Q(0.5094219/(1 << PREDIV)),
DSP32_Q(0.2351178/(1 << PREDIV)),
DSP32_Q(0.0839706/(1 << PREDIV)),
DSP32_Q(0.0223922/(1 << PREDIV)),
DSP32_Q(0.0041985/(1 << PREDIV)),
DSP32_Q(0.0004939/(1 << PREDIV)),
}
#define PREDIV
Definition: dsp32_iirpart/iirpart_example.c:99
#define DSP32_Q(fnum)
Convert a float into a 32-bit signed fixed-point type.
Definition: dsp_types.h:301

Referenced by decompress_smooth_data(), dsp16_filt_lpfirdesign(), dsp16_op_asin(), dsp16_op_ln(), dsp16_op_ln_raw(), dsp16_op_log10(), dsp16_op_log2(), dsp16_op_pow(), dsp16_op_sqrt(), dsp16_win_kaiser(), dsp32_op_asin(), dsp32_op_ln(), dsp32_op_ln_raw(), dsp32_op_log10(), dsp32_op_log2(), dsp32_op_pow(), dsp32_op_sqrt(), dsp32_win_kaiser(), filter_get_description(), filter_set_active(), host_user_check_class(), main(), make_odither_array(), and netif_find().