audio_task.h File Reference

#include "config.h"

Include dependency graph for audio_task.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

U16 Get_adc_ext_val (void)


Detailed Description

This file contains the function declarations - Compiler: IAR EWAVR and GNU GCC for AVR

Definition in file audio_task.h.


Function Documentation

U16 Get_adc_ext_val ( void   ) 

Analog Channel 3 Acquisition routine (ADC)

Note:
User can choose to transmit a signal that is present on the free PF3 input (available on J7.4 of STK525) This can be used to do some measures from a pure sine wave sent on PF3 from an external generator.
Parameters:
none 
Returns:
none

Definition at line 192 of file audio_task.c.

References Is_adc_conv_finished, and Start_conv_channel.

00193 {
00194    Start_conv_channel(3);
00195    while (!Is_adc_conv_finished());
00196    return (U16)(ADCL+((U16)(ADCH<<8)));
00197 }


Generated on Fri Oct 31 15:31:41 2008 for ATMEL by  doxygen 1.5.3