Atmel Software Framework

applications/uc3-dsplib-demo/conf/conf_tpa6130.h File Reference
#include "board.h"
#include "tpa6130.h"
#include <avr32/io.h>

Macros

#define BUFFER_LENGTH   256
 
#define BUFFER_LENGTH_LOG   8
 
#define DAC_BITS_PER_SAMPLE   16
 
#define DAC_NUM_CHANNELS   2
 
#define DAC_SAMPLING_RATE   48000
 
#define DAC_SWAP_CHANNELS   false
 
#define DEFAULT_OUTPUT_VOLUME   16384
 
#define FFT_LENGTH   BUFFER_LENGTH/4
 
#define FIR_NUM_COEF   32
 
#define TPA6130_MODE   TPA6130_MODE_STEREO
 
#define TPA6130_SIG   TPA6130_SIG_DIFF
 Input Selected: AIC23B_INPUT_LINE or AIC23B_INPUT_MIC. More...
 
#define TPA6130_TWI_MASTER_SPEED   100000
 
Audio ABDAC Sampling Configuration
#define TPA6130_APPLICATION_MAX_VOLUME   (TPA6130_VOL_MAX/2)
 
#define TPA6130_ABDAC_GCLK_INPUT_HZ   FOSC1
 

#define BUFFER_LENGTH   256
#define BUFFER_LENGTH_LOG   8

Referenced by dsp_calculate_fft().

#define DAC_BITS_PER_SAMPLE   16

Referenced by dsp_process_init().

#define DAC_NUM_CHANNELS   2

Referenced by dsp_process_init().

#define DAC_SAMPLING_RATE   48000
#define DAC_SWAP_CHANNELS   false

Referenced by dsp_process_init().

#define DEFAULT_OUTPUT_VOLUME   16384
#define FFT_LENGTH   BUFFER_LENGTH/4

Referenced by dsp_calculate_fft(), and gui_task().

#define FIR_NUM_COEF   32

Referenced by dsp_process_init().

#define TPA6130_ABDAC_GCLK_INPUT_HZ   FOSC1
#define TPA6130_APPLICATION_MAX_VOLUME   (TPA6130_VOL_MAX/2)
#define TPA6130_MODE   TPA6130_MODE_STEREO
#define TPA6130_SIG   TPA6130_SIG_DIFF

Input Selected: AIC23B_INPUT_LINE or AIC23B_INPUT_MIC.

#define TPA6130_TWI_MASTER_SPEED   100000