![]() |
xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
Analog-to-Digital Converter API Header. More...
Go to the source code of this file.
Enumerations | |
| enum | ADCRef { AREF, AVCC, AINT1, AINT2 } |
| ADC Reference Voltage options. More... | |
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... | |
Analog-to-Digital Converter API Header.
Definition in file adc.h.
1.8.3.1