audio_example.h File Reference


Detailed Description

Header file of the USB AUDIO example.

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

Definition in file audio_example.h.

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

Go to the source code of this file.

Defines

#define AUDIO_DEMO_STRING   "USB Audio demo v1.0.14"
Speaker sampling rate frequency.
Please choose beetween:
  • 44100 In KHz. The OSC1 frequency must be 11289600 Hz.
  • 48000 In KHz. The OSC1 frequency must be 12288000 Hz.


#define APPLI_BG_COLOR   -1
 Default background color.
#define APPLI_FG_COLOR   WHITE
 Default foreground color.
#define MICRO_VOL_MAX   0x7000
 Default background color.
#define MICRO_VOL_MIN   0x7000
 Default background color.
#define MICRO_VOL_RES   0x1000
 Default background color.
#define SPEAKER_FREQUENCY   44100
 Default background color.
#define USB_SPEAKER_VOL_MAX   0x1000
 Default background color.
#define USB_SPEAKER_VOL_MIN   0x0
 Default background color.
#define USB_SPEAKER_VOL_RES   0x50
 Default background color.
USART Used for STDIO
#define STDIO_USART   (&AVR32_USART0)
#define STDIO_USART_BAUDRATE   57600
#define STDIO_USART_IRQ   AVR32_USART0_IRQ
#define STDIO_USART_RX_FUNCTION   AVR32_USART0_RXD_0_0_FUNCTION
#define STDIO_USART_RX_PIN   AVR32_USART0_RXD_0_0_PIN
#define STDIO_USART_TX_FUNCTION   AVR32_USART0_TXD_0_0_FUNCTION
#define STDIO_USART_TX_PIN   AVR32_USART0_TXD_0_0_PIN


Define Documentation

#define APPLI_BG_COLOR   -1

Default background color.

Definition at line 85 of file audio_example.h.

#define APPLI_FG_COLOR   WHITE

Default foreground color.

Definition at line 82 of file audio_example.h.

#define AUDIO_DEMO_STRING   "USB Audio demo v1.0.14"

Definition at line 61 of file audio_example.h.

Referenced by main(), and mmi_display().

#define MICRO_VOL_MAX   0x7000

Default background color.

Definition at line 78 of file audio_example.h.

Referenced by audio_micro_get_vol_max().

#define MICRO_VOL_MIN   0x7000

Default background color.

Definition at line 77 of file audio_example.h.

Referenced by audio_micro_get_vol_min().

#define MICRO_VOL_RES   0x1000

Default background color.

Definition at line 79 of file audio_example.h.

Referenced by audio_micro_get_vol_res().

#define SPEAKER_FREQUENCY   44100

Default background color.

Definition at line 70 of file audio_example.h.

Referenced by device_audio_task_init().

#define STDIO_USART   (&AVR32_USART0)

Definition at line 90 of file audio_example.h.

Referenced by init_stdio().

#define STDIO_USART_BAUDRATE   57600

Definition at line 96 of file audio_example.h.

Referenced by init_stdio().

#define STDIO_USART_IRQ   AVR32_USART0_IRQ

Definition at line 95 of file audio_example.h.

#define STDIO_USART_RX_FUNCTION   AVR32_USART0_RXD_0_0_FUNCTION

Definition at line 92 of file audio_example.h.

Referenced by init_stdio().

#define STDIO_USART_RX_PIN   AVR32_USART0_RXD_0_0_PIN

Definition at line 91 of file audio_example.h.

Referenced by init_stdio().

#define STDIO_USART_TX_FUNCTION   AVR32_USART0_TXD_0_0_FUNCTION

Definition at line 94 of file audio_example.h.

Referenced by init_stdio().

#define STDIO_USART_TX_PIN   AVR32_USART0_TXD_0_0_PIN

Definition at line 93 of file audio_example.h.

Referenced by init_stdio().

#define USB_SPEAKER_VOL_MAX   0x1000

Default background color.

Definition at line 73 of file audio_example.h.

Referenced by audio_speaker_get_vol_max(), and volume_usb_to_appli().

#define USB_SPEAKER_VOL_MIN   0x0

Default background color.

Definition at line 72 of file audio_example.h.

Referenced by audio_speaker_get_vol_min(), and volume_usb_to_appli().

#define USB_SPEAKER_VOL_RES   0x50

Default background color.

Definition at line 74 of file audio_example.h.

Referenced by audio_speaker_get_vol_res().


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