Atmel Software Framework

dsp_process.h File Reference
#include "dsp.h"

Data Structures

struct  signal_source


#define NUM_FILTERS   3


void dsp_process_init (int cpu_hz, int hsb_hz, int pba_hz, int pbb_hz)
void dsp_process_task (void)
const char * filter_active_get_description ()
const char * filter_get_description (unsigned int num)
void filter_restore_default ()
void filter_set_active (unsigned int num)
dsp16_t output_get_volume ()
void output_set_default_vol ()
void output_set_volume (dsp16_t volume)
unsigned int signal_source_get_freq (struct signal_source *source)
dsp16_t signal_source_get_volume (struct signal_source *source)
void signal_source_init (struct signal_source *source, unsigned int frequency, dsp16_t volume)
void signal_source_restore_defaults (struct signal_source *source)
void signal_source_set_freq (struct signal_source *source, unsigned int frequency)
void signal_source_set_volume (struct signal_source *source, dsp16_t volume)


struct signal_source signal1_generator
struct signal_source signal2_generator

#define NUM_FILTERS   3

void dsp_process_task ( void  )
const char* filter_active_get_description ( )
const char* filter_get_description ( unsigned int  num)
void filter_restore_default ( )

References active_filter.

Referenced by dsp_process_init().

void filter_set_active ( unsigned int  num)

References active_filter, num, and NUM_FILTERS.

Referenced by state_machine_filter().

dsp16_t output_get_volume ( )
void output_set_default_vol ( )
void output_set_volume ( dsp16_t  volume)
unsigned int signal_source_get_freq ( struct signal_source source)
dsp16_t signal_source_get_volume ( struct signal_source source)

References signal_source::volume.

Referenced by state_machine_source().

void signal_source_init ( struct signal_source source,
unsigned int  frequency,
dsp16_t  volume 
void signal_source_restore_defaults ( struct signal_source source)
void signal_source_set_freq ( struct signal_source source,
unsigned int  frequency 
void signal_source_set_volume ( struct signal_source source,
dsp16_t  volume 

References signal_source::volume, and volume.

Referenced by state_machine_source().

struct signal_source signal1_generator
struct signal_source signal2_generator