|
libepaper 2.0.0
A C++23 library for controlling Waveshare e-paper displays on Raspberry Pi, featuring transparent sleep/wake management and a fluent builder API.
|
GPIO pin concepts for hardware abstraction. More...
#include <concepts>

Go to the source code of this file.
Namespaces | |
| namespace | epaper |
| namespace | epaper::hal |
Concepts | |
| concept | epaper::hal::DigitalOutput |
| concept | epaper::hal::DigitalInput |
GPIO pin concepts for hardware abstraction.
Defines C++20 concepts for digital input/output pins, enabling generic driver code that works with any GPIO implementation.
Design Philosophy:
Concept Hierarchy:
Typical Implementations:
Pin Semantics:
write(true): Set pin to logic HIGH (typically 3.3V or 5V)write(false): Set pin to logic LOW (typically 0V/GND)read(): Sample current pin state (true=HIGH, false=LOW)No Buffering:
write() may not guarantee signal stability until next call