MAV'RIC
Public Member Functions
Adc_avr32 Class Reference

Implementation of Analog to digital converters on avr32 *. More...

#include <adc_avr32.hpp>

Inheritance diagram for Adc_avr32:
Inheritance graph
[legend]
Collaboration diagram for Adc_avr32:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Implementation of Analog to digital converters on avr32 *.


Constructor & Destructor Documentation

Adc_avr32::Adc_avr32 ( analog_monitor_t analog_monitor,
adc_avr32_conf_t  config 
)

Constructor.

Parameters:
analog_monitorReference to analog monitor
configDevice configuration

Member Function Documentation

bool Adc_avr32::init ( void  ) [virtual]

Hardware initialization.

Returns:
success

Implements Adc.

bool Adc_avr32::update ( void  ) [virtual]

Update function.

Returns:
success

Implements Adc.

const float & Adc_avr32::voltage ( void  ) const [virtual]

Get the voltage in volts.

Returns:
Value

Implements Adc.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines