MAV'RIC
|
Implementation of Analog to digital converters on avr32 *. More...
#include <adc_avr32.hpp>
Public Member Functions | |
Adc_avr32 (analog_monitor_t &analog_monitor, adc_avr32_conf_t config) | |
Constructor. | |
bool | init (void) |
Hardware initialization. | |
bool | update (void) |
Update function. | |
const float & | voltage (void) const |
Get the voltage in volts. |
Implementation of Analog to digital converters on avr32 *.
Adc_avr32::Adc_avr32 | ( | analog_monitor_t & | analog_monitor, |
adc_avr32_conf_t | config | ||
) |
Constructor.
analog_monitor | Reference to analog monitor |
config | Device configuration |
bool Adc_avr32::init | ( | void | ) | [virtual] |
bool Adc_avr32::update | ( | void | ) | [virtual] |
const float & Adc_avr32::voltage | ( | void | ) | const [virtual] |