ardupilot/libraries/AP_HAL_Linux/AP_HAL_Linux_Namespace.h
Gustavo Jose de Sousa cdf70f6fe5 AP_HAL_Linux: add GPIO_Sysfs
This commit adds the class Linux::GPIO_Sysfs. This class provides a generic
implementation of AP_HAL::GPIO on Linux by using GPIO Sysfs Interface
(https://www.kernel.org/doc/Documentation/gpio/sysfs.txt).

The channel() interface should be preferred in places that need to be
fast. Since it maintains the file descriptor open this is much faster
than opening and closing it.
2015-10-22 12:04:52 +11:00

47 lines
994 B
C++

#ifndef __AP_HAL_LINUX_NAMESPACE_H__
#define __AP_HAL_LINUX_NAMESPACE_H__
namespace Linux {
class UARTDriver;
class SPIUARTDriver;
class RPIOUARTDriver;
class I2CDriver;
class SPIDeviceManager;
class SPIDeviceDriver;
class AnalogSource;
class AnalogIn;
class Storage;
class GPIO_BBB;
class GPIO_RPI;
class GPIO_Sysfs;
class Storage;
class Storage_FRAM;
class DigitalSource;
class DigitalSource_Sysfs;
class RCInput;
class RCInput_PRU;
class RCInput_AioPRU;
class RCInput_Navio;
class RCInput_Raspilot;
class RCInput_ZYNQ;
class RCInput_UART;
class RCInput_UDP;
class RCOutput_PRU;
class RCOutput_AioPRU;
class RCOutput_PCA9685;
class RCOutput_Raspilot;
class RCOutput_ZYNQ;
class RCOutput_Bebop;
class Semaphore;
class Scheduler;
class Util;
class UtilRPI;
class ToneAlarm;
class Heat;
class HeatPwm;
}
#endif // __AP_HAL_LINUX_NAMESPACE_H__