APM:Libraries
|
#include <AnalogIn.h>
Public Member Functions | |
ADCSource (SITL_State *sitlState, int16_t pin) | |
float | read_average () |
float | read_latest () |
void | set_pin (uint8_t p) |
float | voltage_average () |
float | voltage_latest () |
float | voltage_average_ratiometric () |
void | set_stop_pin (uint8_t pin) |
void | set_settle_time (uint16_t settle_time_ms) |
Private Attributes | |
SITL_State * | _sitlState |
int16_t | _pin |
Friends | |
class | HALSITL::AnalogIn |
Definition at line 8 of file AnalogIn.h.
ADCSource::ADCSource | ( | SITL_State * | sitlState, |
int16_t | pin | ||
) |
Definition at line 12 of file AnalogIn.cpp.
Referenced by set_pin().
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 17 of file AnalogIn.cpp.
Referenced by voltage_average().
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 29 of file AnalogIn.cpp.
Referenced by read_average(), and voltage_latest().
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 61 of file AnalogIn.cpp.
|
inlinevirtual |
Implements AP_HAL::AnalogSource.
Definition at line 24 of file AnalogIn.h.
|
inlinevirtual |
Implements AP_HAL::AnalogSource.
Definition at line 23 of file AnalogIn.h.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 21 of file AnalogIn.cpp.
Referenced by voltage_average_ratiometric().
|
inlinevirtual |
Implements AP_HAL::AnalogSource.
Definition at line 20 of file AnalogIn.h.
|
virtual |
Implements AP_HAL::AnalogSource.
Definition at line 25 of file AnalogIn.cpp.
|
friend |
Definition at line 10 of file AnalogIn.h.
|
private |
Definition at line 28 of file AnalogIn.h.
Referenced by read_latest(), and set_pin().
|
private |
Definition at line 27 of file AnalogIn.h.
Referenced by read_latest(), and set_pin().