This file contains the possible external configuration of the TPA6130A2.
Definition in file conf_tpa6130.h.
#include "board.h"
#include "tpa6130.h"
#include <avr32/io.h>
Go to the source code of this file.
Defines | |
#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 . | |
#define | TPA6130_TWI_MASTER_SPEED 100000 |
Audio ABDAC Sampling Configuration | |
#define | TPA6130_ABDAC_GCLK_INPUT_HZ FOSC1 |
#define | TPA6130_APPLICATION_MAX_VOLUME (TPA6130_VOL_MAX/2) |
#define BUFFER_LENGTH 256 |
Definition at line 76 of file conf_tpa6130.h.
Referenced by dac_reload_callback(), dsp_calculate_fft(), dsp_process_init(), generate_signal(), gui_print_signal_box(), and gui_task().
#define BUFFER_LENGTH_LOG 8 |
#define DAC_BITS_PER_SAMPLE 16 |
#define DAC_NUM_CHANNELS 2 |
#define DAC_SAMPLING_RATE 48000 |
Definition at line 84 of file conf_tpa6130.h.
Referenced by dsp_process_init(), and generate_signal().
#define DAC_SWAP_CHANNELS FALSE |
#define DEFAULT_OUTPUT_VOLUME 16384 |
Definition at line 89 of file conf_tpa6130.h.
#define FFT_LENGTH BUFFER_LENGTH/4 |
#define FIR_NUM_COEF 32 |
Definition at line 82 of file conf_tpa6130.h.
Referenced by dac_reload_callback(), and dsp_process_init().
#define TPA6130_ABDAC_GCLK_INPUT_HZ FOSC1 |
Definition at line 71 of file conf_tpa6130.h.
#define TPA6130_APPLICATION_MAX_VOLUME (TPA6130_VOL_MAX/2) |
Definition at line 69 of file conf_tpa6130.h.
#define TPA6130_MODE TPA6130_MODE_STEREO |
Definition at line 59 of file conf_tpa6130.h.
#define TPA6130_SIG TPA6130_SIG_DIFF |
Input Selected: AIC23B_INPUT_LINE
or AIC23B_INPUT_MIC
.
Definition at line 62 of file conf_tpa6130.h.
#define TPA6130_TWI_MASTER_SPEED 100000 |