Microchip® Advanced Software Framework

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   4
 
#define NUM_SIZE   5
 
#define SIZE   72
 The size of the input signal. More...
 

Functions

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

Variables

A_ALIGNED dsp16_t den [DEN_SIZE]
 
A_ALIGNED dsp16_t num [NUM_SIZE]
 
A_ALIGNED dsp16_t vect1 [SIZE]
 The output buffer. More...
 
A_ALIGNED dsp16_t vect2 [SIZE]
 The input signal. More...
 

#define DEN_SIZE   4

Referenced by main().

#define NUM_SIZE   5

Referenced by main().

#define SIZE   72

The size of the input signal.

Referenced by main().

Initial value:
= {
DSP16_Q(-0.00000000000000003469),
DSP16_Q(0.4860288),
DSP16_Q(-0.00000000000000001549),
}
#define DSP16_Q(fnum)
Convert a float into a 16-bit signed fixed-point type.
Definition: dsp_types.h:290

Referenced by dsp16_filt_iir(), dsp16_filt_iirpart(), dsp16_op_div(), dsp32_op_div(), dsp_debug_sprint_after_radix(), and main().

Initial value:
= {
DSP16_Q(0.0939809),
DSP16_Q(0.375923),
DSP16_Q(0.5638851),
DSP16_Q(0.3759234),
}
#define DSP16_Q(fnum)
Convert a float into a 16-bit signed fixed-point type.
Definition: dsp_types.h:290

Referenced by dsp16_filt_iir(), dsp16_filt_iirpart(), dsp16_filt_lpfirdesign(), dsp16_op_asin(), dsp16_op_ln(), dsp16_op_log10(), dsp16_op_log2(), dsp16_op_pow(), dsp32_op_asin(), dsp32_op_ln(), dsp32_op_ln_raw(), dsp32_op_log10(), dsp32_op_log2(), dsp32_op_pow(), dsp32_op_sqrt(), and main().