adc.h File Reference

This is the header file for all ADC specific functions
. More...

#include "sysconfig.h"

Go to the source code of this file.

Defines

#define DD_SPI_ADC_CS   PB4

Functions

int get_temperature (void)
 get_temperature This function is called when receiving from SPI-ADC


Detailed Description

This is the header file for all ADC specific functions
.

It handles all ADC specific functions/variables.
It can only be used with C167 and AVR90USB.


Define Documentation

#define DD_SPI_ADC_CS   PB4

Referenced by get_temperature(), and init().


Function Documentation

int get_temperature ( void   ) 

get_temperature This function is called when receiving from SPI-ADC

Parameters:
void 
Returns:
int Returns the Temperature value (Resolution only in 1°C steps)

References DD_SPI_ADC_CS, and SPI_MasterTransmit().

Referenced by temperature().


Generated on Mon Jan 12 21:12:08 2009 for BlueTemp by  doxygen 1.5.8