10 #include <boost/exception/info.hpp> 12 namespace duds {
namespace hardware {
namespace interface {
20 struct I2cError :
virtual std::exception,
virtual boost::exception { };
boost::error_info< struct Info_i2cdevaddr, int > I2cDeviceAddr
Provides the device (slave) address along with an error.
The number of conversation parts is too great for the implementation to handle.
The device did not respond to its address (NACK).
A ConversationPart of an invalid length was specified.
Base class for all errors specific to I2C communications and used for very general errors...
An attempt was made to use a non-existent I2C bus.
The operation took too long.
The device has failed to conform to the protocol.
The attempted operation is not supported by the bus master.
A timeout occured while waiting to use the bus.