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_CLOCK_SYNTHESIZER/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   g_fcpu_hz
#define FHSB_HZ   g_fhsb_hz
#define FMCK_HZ(fout)   ((SYS_CLOCK_PLL_MUL * (fout) + 1) / 2)
#define FPBA_HZ   g_fpba_hz
#define FPBB_HZ   g_fpbb_hz
#define SYS_CLOCK_PLL_MUL   10
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_EXT_CLOCK_SYNTHESIZER

Variables

U32 g_fcpu_hz
 CPU frequency.
U32 g_fhsb_hz
 HSB frequency.
U32 g_fpba_hz
 PBA frequency.
U32 g_fpbb_hz
 PBB frequency.


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 79 of file AUDIO_EXAMPLE_CLOCK_SYNTHESIZER/AT32UC3A0512_EVK1105/conf_audio_player.h.

#define FCPU_HZ   g_fcpu_hz

#define FHSB_HZ   g_fhsb_hz

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

#define FPBA_HZ   g_fpba_hz

#define FPBB_HZ   g_fpbb_hz

#define SYS_CLOCK_PLL_MUL   10

#define USB_RESYNC_METHOD   USB_RESYNC_METHOD_EXT_CLOCK_SYNTHESIZER

#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 85 of file AUDIO_EXAMPLE_CLOCK_SYNTHESIZER/AT32UC3A0512_EVK1105/conf_audio_player.h.


Variable Documentation

U32 g_fcpu_hz

CPU frequency.

Referenced by init_sys_clocks().

U32 g_fhsb_hz

HSB frequency.

Referenced by init_sys_clocks().

U32 g_fpba_hz

PBA frequency.

Referenced by init_sys_clocks().

U32 g_fpbb_hz

PBB frequency.

Referenced by init_sys_clocks().


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