APM:Libraries
Macros | Variables
AnalogIn_Navio2.cpp File Reference
#include <cstdio>
#include <cstdlib>
#include <errno.h>
#include <unistd.h>
#include <AP_HAL/AP_HAL.h>
#include "AnalogIn_Navio2.h"
Include dependency graph for AnalogIn_Navio2.cpp:

Go to the source code of this file.

Macros

#define ADC_BASE_PATH   "/sys/kernel/rcio/adc"
 

Variables

static const AP_HAL::HALhal = AP_HAL::get_HAL()
 

Macro Definition Documentation

◆ ADC_BASE_PATH

#define ADC_BASE_PATH   "/sys/kernel/rcio/adc"

Definition at line 12 of file AnalogIn_Navio2.cpp.

Referenced by AnalogSource_Navio2::set_channel().

Variable Documentation

◆ hal

const AP_HAL::HAL& hal = AP_HAL::get_HAL()
static

Definition at line 10 of file AnalogIn_Navio2.cpp.