10 #ifndef CARMA_CANBUS_JANZDIO_H
11 #define CARMA_CANBUS_JANZDIO_H
15 #include <boost/thread/mutex.hpp>
57 JanzDio(
const std::string & dev,
58 bool resetOnStart =
false );
73 JanzDio(
const std::string & dev0,
74 const std::string & dev1,
75 bool resetOnStart =
false );
86 JanzDio( const ::std::vector< ::std::string > & devs,
87 bool resetOnStart =
false );
145 void initializeDevice(
const std::string & deviceName,
149 void mttlWrite(
int fd,
int data);
153 void unset(
int bit );
156 std::vector< DeviceInfo > devs_;
162 #endif // CARMA_CANBUS_JANZDIO_H
void powerOn()
Assert the 'power' line.
void clear()
Clear (unassert) all lines.
void resetHi()
Assert the reset line.
void resetLo()
Unassert the 'reset' line.
void powerOff()
Unassert the 'power' line.
void reservedLo()
Unassert the 'reserved' line.
Dio class for use with Janz char driver.
JanzDio()
Default constructor for hardware emulation.
Declaration of carma::canbus::Dio class.
void reservedHi()
Assert the 'reserved' line.