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
Namespaces | Enumerations | Functions
driver.hpp File Reference
#include <cstddef>
#include <cstdint>
Include dependency graph for driver.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  epaper
 

Enumerations

enum class  epaper::DisplayMode : std::uint8_t {
  epaper::BlackWhite , epaper::Grayscale4 , epaper::BWR , epaper::BWY ,
  epaper::Spectra6
}
 

Functions

constexpr auto epaper::bits_per_pixel (DisplayMode mode) noexcept -> std::uint8_t
 Get bits per pixel for a display mode.
 
constexpr auto epaper::is_color_mode (DisplayMode mode) noexcept -> bool
 Check if mode supports color (non-grayscale).
 
constexpr auto epaper::num_planes (DisplayMode mode) noexcept -> std::size_t
 Get number of color planes required for a display mode.