Atmel Software Framework

dsp16_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   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:297
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:297

The output buffer.

The input signal.