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.
Loading...
Searching...
No Matches
include
epaper
hal
gpio.hpp
Go to the documentation of this file.
1
#pragma once
2
60
#include <concepts>
61
62
namespace
epaper::hal
{
63
100
template
<
typename
T>
101
concept
DigitalOutput
=
requires
(T out,
bool
level) {
102
{ out.write(level) } -> std::same_as<void>;
103
};
104
144
template
<
typename
T>
145
concept
DigitalInput
=
requires
(T in) {
146
{ in.read() } -> std::same_as<bool>;
147
};
148
149
}
// namespace epaper::hal
epaper::hal::DigitalInput
Definition
gpio.hpp:145
epaper::hal::DigitalOutput
Definition
gpio.hpp:101
epaper::hal
Definition
gpio.hpp:62
Generated by
1.9.8