52 #include <sys/types.h> 56 #include "rnr/rnrconfig.h" 106 LaeGpio(
const std::string &strTag,
203 static const int TPowerUp = 500000;
260 static const int TTrans = 10000;
261 static const int TReboot = 500000;
306 static const int TTrans = 10000;
307 static const int TReboot = 10000;
452 #endif // _LAE_GPIO_H const int LaeGpioMotorCtlrEn
motor controler enable gpio
LaeGpio::Direction m_gpioDir
GPIO direction.
const int LaeGpioWdReset
Watchdog subprocessor reset gpio.
virtual ~LaeMotorCtlrEnable()
Destructor.
Laelaps top deck auxilliary regulated 5V power out enable class.
virtual ~LaeAux5VOutEnable()
Destructor.
Laelaps motor controller power enable class.
const int LaeGpioAuxBattEn
auxilliary battery enable gpio
LaeI2CMuxReset()
Default constructor.
int m_gpioNum
exported GPIO number
LaeGpio(const std::string &strTag, const int gpio, const LaeGpio::Direction dir)
Default intialization constructor.
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
virtual void sync()
Synchronized this with GPIO hardware state.
int hasValue() const
Get the current shadowed gpio value.
virtual ~LaeI2CMuxReset()
Destructor.
LaeAuxBattOutEnable()
Default constructor.
bool isConfigured() const
Is the exported GPIO number configured to match this ojbect?
const int LaeGpioAux5VEn
Deck regulated 5V enable gpio.
virtual ~LaeAuxBattOutEnable()
Destructor.
LaeWatchDogReset()
Default constructor.
virtual int readValue(int &value)
Read current value of gpio.
bool checkConfig()
Check if the exported GPIO exists in /sys/class and that it has been configured to match this objects...
bool m_gpioCfg
GPIO is [not] configured (correctly)
virtual ~LaeGpio()
Destructor.
Laelaps I2C multiplexer reset class.
Laelaps watchdog sub-processor reset class.
virtual ~LaeWatchDogReset()
Destructor.
LaeMotorCtlrEnable()
Default constructor.
virtual int writeValue(const LaeGpio::TriState value)
Write value to gpio.
TriState
GPIO tri-state value.
int m_gpioVal
shadowed value
std::string m_gpioTag
identifying tag
LaeAux5VOutEnable()
Default constructor.
const int LaeGpioI2CMuxReset
I2C multiplexer reset gpio.
Top-level package include file.
Laelaps Odroid GPIO base class.
Laelaps top deck auxilliary battery power out enable class.