Contiki 2.5
Functions
adc.c File Reference

 Functions to control the ADC of the MCU.
More...

#include "adc.h"

Go to the source code of this file.

Functions

int adc_init (adc_chan_t chan, adc_trig_t trig, adc_ref_t ref, adc_ps_t prescale)
 This function will init the ADC with the following parameters. More...
 
void adc_deinit (void)
 This will disable the adc. More...
 
int adc_conversion_start (void)
 This will start an ADC conversion. More...
 
int16_t adc_result_get (adc_adj_t adjust)
 This will read the ADC result during the ADC conversion and return the raw ADC conversion result. More...
 

Detailed Description

 Functions to control the ADC of the MCU.

This is used to read the joystick.

Author
Mike Vidales mavid.nosp@m.a404.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition in file adc.c.