10 #ifndef CARMA_CANBUS_GPIODIO_H
11 #define CARMA_CANBUS_GPIODIO_H
15 #include <boost/thread.hpp>
40 GpioDio( std::vector< int > basePins,
bool resetOnStart );
93 void set(
unsigned char bits );
94 void unset(
unsigned char bits );
95 void writeHoldingLock( );
98 std::vector< int > fds;
102 unsigned char state_;
103 std::vector< GpioInfo > gpioDevs_;
110 #endif // #ifndef CARMA_CANBUS_GPIODIO_H
void resetLo()
Unassert the 'reset' line.
void resetHi()
Assert the reset line.
GpioDio()
Constructor for emulation.
void clear()
Clear (unassert) all lines.
void powerOn()
Assert the 'power' line.
void powerOff()
Unassert the 'power' line.
void reservedHi()
Assert the 'reserved' line.
void reservedLo()
Unassert the 'reserved' line.
Declaration of carma::canbus::Dio class.
GpioDio class for use with gpio framework.