Contiki-Inga 3.x
Functions
adc.c File Reference

 ADC driver implementation
More...

#include "adc.h"
#include <stdio.h>
#include <avr/pgmspace.h>

Go to the source code of this file.

Functions

void adc_init (uint8_t mode, uint8_t ref)
 Initialize the ADC module. More...
 
void adc_set_mux (uint8_t mux)
 With this function you can set the ADX multiplexer. More...
 
uint16_t adc_get_value (void)
 This function returns the ADC data register value. More...
 
uint16_t adc_get_value_from (uint8_t chn)
 This function returns the ADC data register value of the given ADC channel. More...
 
void adc_deinit (void)
 This function stops all running ADC. More...
 

Detailed Description

 ADC driver implementation
Author
Ulf Kulau kulau.nosp@m.@ibr.nosp@m..cs.t.nosp@m.u-bs.nosp@m..de

Definition in file adc.c.