12 namespace duds {
namespace hardware {
namespace interface {
21 old.port()->updateAccess(old,
this);
DigitalPort * port() const
Returns a pointer to the port that controls the pin(s) that are operated through this object...
move_impl move(unsigned int c, unsigned int r)
Display stream manipulator that moves the display cursor to the given location.
void reset()
Loses the pointer to the DigitalPort rendering the access object useless.
void retire() noexcept
Relinquish access.
bool havePin() const
Returns true if this object has been given a pin to access.
DigitalPinAccessBase & operator=(DigitalPinAccessBase &&old) noexcept
Allows moving access objects.
unsigned int gid
Global pin ID.
void updateAccess(const DigitalPinAccess &oldAcc, DigitalPinAccess *newAcc)
Transfers or relinquishes access to pins.
Provides access to a single pin on a DigitalPort.
DigitalPinAccess & operator=(DigitalPinAccess &&old)
A move assignment.