#include <AH/Hardware/Hardware-Types.hpp>
Type for storing pin numbers of Extended Input/Output elements.
Definition at line 21 of file Hardware-Types.hpp.
Public Member Functions | |
constexpr | pin_t ()=default |
Default constructor (NO_PIN). More... | |
constexpr | pin_t (uint16_t pin) |
Constructor from integer. More... | |
pin_t & | operator+= (pin_t b) |
pin_t & | operator++ () |
pin_t | operator++ (int) |
pin_t & | operator-= (pin_t b) |
pin_t & | operator-- () |
pin_t | operator-- (int) |
Public Attributes | |
uint16_t | pin = (std::numeric_limits<decltype(pin)>::max() >> 1) + 1 |
The actual underlying pin number. More... | |
|
constexprdefault |
Default constructor (NO_PIN).
|
inlineconstexpr |
Constructor from integer.
Definition at line 25 of file Hardware-Types.hpp.
Definition at line 33 of file Hardware-Types.hpp.
|
inline |
Definition at line 37 of file Hardware-Types.hpp.
|
inline |
Definition at line 41 of file Hardware-Types.hpp.
Definition at line 47 of file Hardware-Types.hpp.
|
inline |
Definition at line 51 of file Hardware-Types.hpp.
|
inline |
Definition at line 55 of file Hardware-Types.hpp.
uint16_t pin = (std::numeric_limits<decltype(pin)>::max() >> 1) + 1 |
The actual underlying pin number.
Definition at line 28 of file Hardware-Types.hpp.