conf_tpa6130.h File Reference


Detailed Description

TPA6130A2 amplifier driver configuration file for UC3.

This file contains the possible external configuration of the TPA6130A2.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

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


Define Documentation

#define DEFAULT_DAC_BITS_PER_SAMPLE   16

Bits per sample: 16.

Definition at line 69 of file conf_tpa6130.h.

Referenced by main().

#define DEFAULT_DAC_NUM_CHANNELS   2

Number of channels: 2 in stereo mode.

Definition at line 68 of file conf_tpa6130.h.

Referenced by main().

#define DEFAULT_DAC_SAMPLE_RATE_HZ   (11025)

Definition at line 67 of file conf_tpa6130.h.

Referenced by main().

#define DEFAULT_DAC_SWAP_CHANNELS   FALSE

Swap of channel.

Definition at line 70 of file conf_tpa6130.h.

Referenced by main().

#define TPA6130_ABDAC_GCLK_INPUT_HZ   FOSC1

Definition at line 75 of file conf_tpa6130.h.

Referenced by tpa6130_dac_setup().

#define TPA6130_APPLICATION_MAX_VOLUME   (TPA6130_VOL_MAX/2)

Definition at line 73 of file conf_tpa6130.h.

#define TPA6130_MODE   TPA6130_MODE_STEREO

Definition at line 59 of file conf_tpa6130.h.

Referenced by tpa6130_init().

#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

Definition at line 77 of file conf_tpa6130.h.

Referenced by twi_init().


Generated on Fri Feb 19 02:23:28 2010 for AVR32 UC3 - Example of using the TPA6130A2 by  doxygen 1.5.5