#include <avr32/io.h>
#include "compiler.h"
#include "board.h"
#include "dsp.h"
#include "dsp_debug.h"
#include "pm.h"
Macros | |
#define | DEN_PREDIV 3 |
#define | DEN_SIZE 5 |
#define | NUM_PREDIV 3 |
#define | NUM_SIZE 6 |
#define | SIZE 48 |
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 | x [SIZE+NUM_SIZE-1] |
The input signal (sampling rate: 48KHz) A mix between a 4000 Hz and a 1000 Hz signal (mixed by addition) More... | |
A_ALIGNED dsp16_t | y [SIZE+DEN_SIZE] |
The output buffer. More... | |
#define DEN_PREDIV 3 |
Referenced by main().
#define DEN_SIZE 5 |
Referenced by main().
#define NUM_PREDIV 3 |
Referenced by main().
#define NUM_SIZE 6 |
Referenced by main().
#define SIZE 48 |
The size of the input signal.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function.
References den, DEN_PREDIV, DEN_SIZE, dsp16_debug_print_vect(), dsp16_filt_iir(), dsp_debug_initialization, FOSC0, i, num, NUM_PREDIV, NUM_SIZE, pm_switch_to_osc0(), SIZE, x, and y.
The input signal (sampling rate: 48KHz) A mix between a 4000 Hz and a 1000 Hz signal (mixed by addition)