A tuple (heterogenious collection) of pins that can be written together as if it was a port.
More...
|
| constexpr | PinTuple (Pins... pins) |
| | constructs a PinTuple from a list of pins
|
| |
| constexpr void | write (std::bitset< sizeof...(Pins)> values) |
| | writes each bit to each corresponding pin
|
| |
| constexpr void | dir (std::bitset< sizeof...(Pins)> values) |
| | writes each bit to configure each corresponding pin
|
| |
| constexpr std::bitset< sizeof...(Pins)> | read () |
| | reads from all pins and writes their results to the corresponding bit position
|
| |
template<size_t pin>
requires (pin < sizeof...(Pins)) |
| constexpr auto | view () |
| | returns a view of the corresponding pin position
|
| |
template<typename... Pins>
requires (cPin<Pins> && ...)
class fiber::PinTuple< Pins >
A tuple (heterogenious collection) of pins that can be written together as if it was a port.