conf_audio_player.h File Reference


Detailed Description

Audio player configuration file.

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

Definition in file AUDIO_EXAMPLE_ADAPTIF_SRC/AT32UC3A0512_EVK1105/conf_audio_player.h.

#include "audio_mixer.h"
#include <avr32/io.h>
#include "board.h"

Go to the source code of this file.

Defines

#define DEFAULT_HEAP_INIT_WORD   0xA5A5A5A5
 Default heap initialization word.
#define WDT_TIMEOUT_PERIOD_US   15000000
 Time-out period of the WatchDog Timer in microseconds.
Default DAC Settings
Please choose beetween:
  • AUDIO_MIXER_DAC_AIC23B (external DAC mounted on EVK1105 board)
  • AUDIO_MIXER_DAC_ABDAC (internal ABDAC with external amplifier tap6130 on EVK1105 and EVK1104)


#define DEFAULT_DAC_BITS_PER_SAMPLE   16
#define DEFAULT_DAC_NUM_CHANNELS   2
#define DEFAULT_DAC_SAMPLE_RATE_HZ   SPEAKER_FREQUENCY
#define DEFAULT_DAC_SWAP_CHANNELS   FALSE
#define DEFAULT_DACS   AUDIO_MIXER_DAC_AIC23B
System Clock Frequencies
#define FCPU_HZ   FMCK_HZ
#define FHSB_HZ   FCPU_HZ
#define FMCK_HZ   ((SYS_CLOCK_PLL_MUL * FOSC1 + 1) / 2)
#define FPBA_HZ   FMCK_HZ
#define FPBB_HZ   FMCK_HZ
#define SYS_CLOCK_PLL_MUL   11
Method used for the USB resynchronization
Please choose beetween:
  • USB_RESYNC_METHOD_SOFT_ADD_DEL_SAMPLES (Add/remove samples on the fly)
  • USB_RESYNC_METHOD_SOFT_ADAPTIF_SRC (Pseudo adaptif Sampling Rate Conversion)
  • USB_RESYNC_METHOD_EXT_CLOCK_SYNTHESIZER (Use of an external clock synthesizer (e.g. the CL CS2200))


#define USB_RESYNC_METHOD   USB_RESYNC_METHOD_SOFT_ADAPTIF_SRC


Define Documentation

#define DEFAULT_DAC_BITS_PER_SAMPLE   16

#define DEFAULT_DAC_NUM_CHANNELS   2

#define DEFAULT_DAC_SAMPLE_RATE_HZ   SPEAKER_FREQUENCY

#define DEFAULT_DAC_SWAP_CHANNELS   FALSE

#define DEFAULT_DACS   AUDIO_MIXER_DAC_AIC23B

#define DEFAULT_HEAP_INIT_WORD   0xA5A5A5A5

Default heap initialization word.

Definition at line 67 of file AUDIO_EXAMPLE_ADAPTIF_SRC/AT32UC3A0512_EVK1105/conf_audio_player.h.

#define FCPU_HZ   FMCK_HZ

#define FHSB_HZ   FCPU_HZ

#define FMCK_HZ   ((SYS_CLOCK_PLL_MUL * FOSC1 + 1) / 2)

#define FPBA_HZ   FMCK_HZ

#define FPBB_HZ   FMCK_HZ

#define SYS_CLOCK_PLL_MUL   11

#define USB_RESYNC_METHOD   USB_RESYNC_METHOD_SOFT_ADAPTIF_SRC

#define WDT_TIMEOUT_PERIOD_US   15000000

Time-out period of the WatchDog Timer in microseconds.

Warning:
Do not choose a value smaller than the normal maximal time that can be spent between two consecutive calls of com_task().

Definition at line 73 of file AUDIO_EXAMPLE_ADAPTIF_SRC/AT32UC3A0512_EVK1105/conf_audio_player.h.


Generated on Fri Feb 19 02:32:15 2010 for AVR32 - USB AUDIO Example by  doxygen 1.5.5