#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 | F_INPUT 22050 |
Sampling rate of the original signal. More... | |
#define | F_OUTPUT 48510 |
Sampling rate of the output signal. More... | |
#define | FILTER_ORDER 6 |
Filter order. More... | |
#define | N 200 |
Number of point to process. More... | |
#define | NB_CUTS 40 |
Functions | |
int | main (int argc, char *argv[]) |
The main function. More... | |
Variables | |
A_ALIGNED dsp16_t | s [N] |
#define F_INPUT 22050 |
Sampling rate of the original signal.
Referenced by main().
#define F_OUTPUT 48510 |
Sampling rate of the output signal.
Referenced by main().
#define FILTER_ORDER 6 |
Filter order.
Referenced by main().
#define N 200 |
Number of point to process.
Referenced by main().
#define NB_CUTS 40 |
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function.
References A_ALIGNED, dsp16_resampling_options_t::coefficients_generation, dsp16_debug_print_vect(), dsp16_debug_printf(), dsp16_resampling_compute(), dsp16_resampling_free(), dsp16_resampling_get_output_current_buffer_size(), dsp16_resampling_get_output_max_buffer_size(), dsp16_resampling_setup(), dsp_debug_initialization, dsp16_resampling_options_t::dynamic, F_INPUT, F_OUTPUT, FILTER_ORDER, FOSC0, Get_sys_count, N, NB_CUTS, OSC0_STARTUP, pm_switch_to_osc0(), and s.
Referenced by dsp16_win_bart(), dsp16_win_black(), dsp16_win_gauss(), dsp16_win_hamm(), dsp16_win_hann(), dsp16_win_kaiser(), dsp16_win_welch(), dsp32_win_bart(), dsp32_win_black(), dsp32_win_gauss(), dsp32_win_hamm(), dsp32_win_hann(), dsp32_win_kaiser(), dsp32_win_welch(), main(), print(), and printi().