Atmel Software Framework

services/usb/_asf_v1/class/audio/examples/host/conf/conf_tpa6130.h File Reference
#include "intc.h"
#include "board.h"
#include "tpa6130.h"
#include <avr32/io.h>

Macros

#define TPA6130_ABDAC   (&AVR32_ABDAC)
 
#define TPA6130_ABDAC_PDCA_CHANNEL   0
 
#define TPA6130_ABDAC_PDCA_INT_LEVEL   AVR32_INTC_INT3
 
#define TPA6130_ABDAC_PDCA_IRQ   AVR32_PDCA_IRQ_0
 
#define TPA6130_ABDAC_PDCA_PID   AVR32_PDCA_PID_ABDAC_TX
 
#define TPA6130_APPLICATION_MAX_VOLUME   0x1F
 
#define TPA6130_DATA0_FUNCTION   AVR32_ABDAC_DATA_0_1_FUNCTION
 
#define TPA6130_DATA0_PIN   AVR32_ABDAC_DATA_0_1_PIN
 
#define TPA6130_DATA1_FUNCTION   AVR32_ABDAC_DATA_1_1_FUNCTION
 
#define TPA6130_DATA1_PIN   AVR32_ABDAC_DATA_1_1_PIN
 
#define TPA6130_DATAN0_FUNCTION   AVR32_ABDAC_DATAN_0_1_FUNCTION
 
#define TPA6130_DATAN0_PIN   AVR32_ABDAC_DATAN_0_1_PIN
 
#define TPA6130_DATAN1_FUNCTION   AVR32_ABDAC_DATAN_1_1_FUNCTION
 
#define TPA6130_DATAN1_PIN   AVR32_ABDAC_DATAN_1_1_PIN
 
#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_ABDAC_GCLK_INPUT_HZ   FOSC1
 

#define TPA6130_ABDAC   (&AVR32_ABDAC)
#define TPA6130_ABDAC_GCLK_INPUT_HZ   FOSC1

Referenced by tpa6130_dac_setup().

#define TPA6130_ABDAC_PDCA_CHANNEL   0
#define TPA6130_ABDAC_PDCA_INT_LEVEL   AVR32_INTC_INT3
#define TPA6130_ABDAC_PDCA_IRQ   AVR32_PDCA_IRQ_0

Referenced by tpa6130_dac_start().

#define TPA6130_ABDAC_PDCA_PID   AVR32_PDCA_PID_ABDAC_TX

Referenced by tpa6130_dac_setup().

#define TPA6130_APPLICATION_MAX_VOLUME   0x1F
#define TPA6130_DATA0_FUNCTION   AVR32_ABDAC_DATA_0_1_FUNCTION
#define TPA6130_DATA0_PIN   AVR32_ABDAC_DATA_0_1_PIN
#define TPA6130_DATA1_FUNCTION   AVR32_ABDAC_DATA_1_1_FUNCTION
#define TPA6130_DATA1_PIN   AVR32_ABDAC_DATA_1_1_PIN
#define TPA6130_DATAN0_FUNCTION   AVR32_ABDAC_DATAN_0_1_FUNCTION
#define TPA6130_DATAN0_PIN   AVR32_ABDAC_DATAN_0_1_PIN
#define TPA6130_DATAN1_FUNCTION   AVR32_ABDAC_DATAN_1_1_FUNCTION
#define TPA6130_DATAN1_PIN   AVR32_ABDAC_DATAN_1_1_PIN
#define TPA6130_MODE   TPA6130_MODE_STEREO

Referenced by tpa6130_init().

#define TPA6130_SIG   TPA6130_SIG_DIFF

Input Selected: AIC23B_INPUT_LINE or AIC23B_INPUT_MIC.

#define TPA6130_TWI_MASTER_SPEED   100000

Referenced by init_twi(), and twi_init().