xyControl  0.1
Quadrotor Flight Controller on AVR Basis
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Functions
adc.c File Reference

Analog-to-Digital Converter API Implementation. More...

#include <avr/io.h>
#include <stdint.h>
#include <adc.h>

Go to the source code of this file.

Functions

void adcInit (ADCRef ref)
 Initialize the ADC Hardware. More...
 
void adcStart (uint8_t channel)
 Start a conversion on a given channel. More...
 
uint8_t adcReady (void)
 Check if a result is ready. More...
 
uint16_t adcGet (uint8_t next)
 Get the conversion results. More...
 
void adcClose (void)
 Disable the ADC to save energy. More...
 

Detailed Description

Analog-to-Digital Converter API Implementation.

Definition in file adc.c.