Atmel Software Framework

components/audio/amp/tpa6130a2/example/conf_tpa6130.h File Reference
#include "board.h"
#include "tpa6130.h"
#include <avr32/io.h>

Macros

#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 DEFAULT_DAC_SAMPLE_RATE_HZ   (11025)
 
#define DEFAULT_DAC_NUM_CHANNELS   2
 Number of channels: 2 in stereo mode. More...
 
#define DEFAULT_DAC_BITS_PER_SAMPLE   16
 Bits per sample: 16. More...
 
#define DEFAULT_DAC_SWAP_CHANNELS   false
 Swap of channel. More...
 
#define TPA6130_APPLICATION_MAX_VOLUME   (TPA6130_VOL_MAX/2)
 
#define TPA6130_ABDAC_GCLK_INPUT_HZ   FOSC1
 

#define DEFAULT_DAC_BITS_PER_SAMPLE   16

Bits per sample: 16.

Referenced by main().

#define DEFAULT_DAC_NUM_CHANNELS   2

Number of channels: 2 in stereo mode.

Referenced by main().

#define DEFAULT_DAC_SAMPLE_RATE_HZ   (11025)

Referenced by main().

#define DEFAULT_DAC_SWAP_CHANNELS   false

Swap of channel.

Referenced by main().

#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