APM:Libraries
|
#include <AnalogIn.h>
Public Member Functions | |
AnalogSource (float v) | |
float | read_average () |
float | read_latest () |
void | set_pin (uint8_t p) |
void | set_stop_pin (uint8_t p) |
void | set_settle_time (uint16_t settle_time_ms) |
float | voltage_average () |
float | voltage_latest () |
float | voltage_average_ratiometric () |
Private Attributes | |
float | _v |
Definition at line 5 of file AnalogIn.h.
AnalogSource::AnalogSource | ( | float | v | ) |
Definition at line 5 of file AnalogIn.cpp.
Referenced by Empty::AnalogIn::channel().
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 9 of file AnalogIn.cpp.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 21 of file AnalogIn.cpp.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 25 of file AnalogIn.cpp.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 31 of file AnalogIn.cpp.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 28 of file AnalogIn.cpp.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 13 of file AnalogIn.cpp.
Referenced by voltage_average_ratiometric().
|
inlinevirtual |
Implements AP_HAL::AnalogSource.
Definition at line 15 of file AnalogIn.h.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 17 of file AnalogIn.cpp.
|
private |
Definition at line 17 of file AnalogIn.h.
Referenced by read_average(), read_latest(), voltage_average(), and voltage_latest().