18 namespace duds {
namespace hardware {
namespace interface {
26 struct PinError :
virtual std::exception,
virtual boost::exception { };
89 typedef boost::error_info<struct Info_PinName, std::string>
PinErrorName;
97 typedef boost::error_info<struct Info_PinId, unsigned int>
PinErrorId;
An I/O error prevented the operation on the pin from succeeding.
boost::error_info< struct Info_PinName, std::string > PinErrorName
A name or function associated with the pin(s).
The operation has too few or much data to work on the pins, which can alternately be stated as having...
A request was made to access zero pins.
The requested operation is not supported by the specific pin.
A pin required for the operation does not exist or is unavailable to the process. ...
boost::error_info< struct Info_PinId, unsigned int > PinErrorId
The pin global ID involved in the error.
An attempt was made to use a DigitalPinSetAccess object with two different DigitalPort objects...
A request to add a pin to a DigitalPort cannot be fullfilled because the port already has a pin with ...
boost::error_info< struct Info_PinPortId, unsigned int > PinErrorPortId
The port (hardware) specific pin ID involved in the error.
A DigitalPinAccess or DigitalPinSetAccess object cannot be obtained because one already exists with a...
The requested operation requires the use of the wrong, or not the current, I/O direction.
Base exception type for all errors about pins.