|
APM:Libraries
|
#include <AP_HAL/AP_HAL.h>#include "AnalogIn.h"#include <drivers/drv_adc.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <nuttx/analog/adc.h>#include <nuttx/config.h>#include <arch/board/board.h>#include <uORB/topics/battery_status.h>#include <uORB/topics/servorail_status.h>#include <uORB/topics/system_power.h>#include <GCS_MAVLink/GCS_MAVLink.h>#include <errno.h>#include "GPIO.h"Go to the source code of this file.
Macros | |
| #define | ANLOGIN_DEBUGGING 0 |
| #define | VRBRAIN_VOLTAGE_SCALING (3.3f/4096.0f) |
| #define | Debug(fmt, args ...) |
Variables | |
| const AP_HAL::HAL & | hal |
| -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More... | |
| struct { | |
| uint8_t pin | |
| float scaling | |
| } | pin_scaling [] |
| #define ANLOGIN_DEBUGGING 0 |
Definition at line 21 of file AnalogIn.cpp.
| #define Debug | ( | fmt, | |
| args ... | |||
| ) |
Definition at line 29 of file AnalogIn.cpp.
Referenced by VRBRAIN::VRBRAINAnalogIn::_timer_tick().
| #define VRBRAIN_VOLTAGE_SCALING (3.3f/4096.0f) |
Definition at line 24 of file AnalogIn.cpp.
Referenced by VRBRAIN::VRBRAINAnalogSource::_pin_scaler().
| const AP_HAL::HAL& hal |
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
Definition at line 14 of file AC_PID_test.cpp.
| uint8_t pin |
Definition at line 39 of file AnalogIn.cpp.
| const { ... } pin_scaling[] |
Referenced by VRBRAIN::VRBRAINAnalogSource::_pin_scaler().
| float scaling |
Definition at line 40 of file AnalogIn.cpp.
1.8.13