Contiki 2.5
|
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... | |
Functions to control the ADC of the MCU.
This is used to read the joystick.
Definition in file adc.c.