Atmel Software Framework

avr32/applications/uc3-audio-player/main.c File Reference
#include <stddef.h>
#include <stdio.h>
#include <avr32/io.h>
#include "compiler.h"
#include "board.h"
#include "intc.h"
#include "gpio.h"
#include "twi.h"
#include "com_task.h"
#include "audio_interface.h"
#include "audio_mixer.h"
#include "clocks.h"
#include "conf_audio_mixer.h"
#include "conf_audio_interface.h"
#include "conf_audio_player.h"

Functions

static void init_exceptions (void)
 Initializes MCU exceptions. More...
 
static void init_heap (void)
 Initializes the heap. More...
 
static void init_hmatrix (void)
 Initializes the HSB bus matrix. More...
 
static void init_interrupts (void)
 Initializes MCU interrupts. More...
 
static void init_twi (void)
 Initializes the two-wire interface. More...
 
int main (void)
 Main function of the audio player. Refer to AVR32709: AVR32 UC3 Audio Decoder Over USB application note. More...
 

Variables

 return
 

static void init_exceptions ( void  )
static

Initializes MCU exceptions.

References _evba, Enable_global_exception, and Set_system_register.

static void init_heap ( void  )
static

Initializes the heap.

References __heap_end__, and __heap_start__.

Referenced by main().

init_hmatrix ( void  )
static
Initial value:
{
static void init_exceptions(void)
Initializes MCU exceptions.
Definition: avr32/applications/uc3-audio-player/main.c:157

Initializes the HSB bus matrix.

Low-level initialization routine called during startup, before the main function.

static void init_interrupts ( void  )
static

Initializes MCU interrupts.

References cpu_irq_enable, and irq_initialize_vectors.

Referenced by main().

return