hw_adc.h File Reference

ght 2006 Develer S.r.l. More...

#include <avr/io.h>

Go to the source code of this file.


Defines

#define STABILIZING_AI_CHANNEL_TIME   125
 Microseconds to wait before starting conversion after changing a channel.
#define ADC_CHANNEL_NUM   4
 Number of AIN channels.

Functions

void adc_set_active_ain (int ai)
 Set the active AI channel.
void adc_init (void)
 Initialize the ADC hardware.
void adc_set_vref_avcc (void)
 Set the initial reference.
int adc_read_ai_channel (int channel)
 Read the specified AI channel.

Detailed Description

ght 2006 Develer S.r.l.

(http://www.develer.com/)

Macro for HW_AIN_H

Version:
Id
hw_adc.h 1532 2008-08-04 07:21:26Z bernie

Author:
Andrea Grandi <andrea@develer.com>

Definition in file hw_adc.h.