APM:Libraries
Classes | Macros
AnalogIn_IIO.h File Reference
#include "AP_HAL_Linux.h"
#include <AP_ADC/AP_ADC.h>
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for AnalogIn_IIO.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AnalogSource_IIO
 
class  AnalogIn_IIO
 

Macros

#define IIO_ANALOG_IN_COUNT   8
 
#define IIO_ANALOG_IN_DIR   "/sys/bus/iio/devices/iio:device0/"
 
#define IIO_VOLTAGE_SCALING   0.00142602816
 

Macro Definition Documentation

◆ IIO_ANALOG_IN_COUNT

#define IIO_ANALOG_IN_COUNT   8

Definition at line 9 of file AnalogIn_IIO.h.

◆ IIO_ANALOG_IN_DIR

#define IIO_ANALOG_IN_DIR   "/sys/bus/iio/devices/iio:device0/"

Definition at line 10 of file AnalogIn_IIO.h.

Referenced by AnalogSource_IIO::init_pins().

◆ IIO_VOLTAGE_SCALING

#define IIO_VOLTAGE_SCALING   0.00142602816

Definition at line 14 of file AnalogIn_IIO.h.

Referenced by AnalogIn_IIO::channel().