|
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.
|
Concept for a raw SPI data transfer bus. More...
#include <spi.hpp>
Concept for a raw SPI data transfer bus.
Provides full-duplex byte transfer and bulk write capabilities. Does NOT handle Chip Select (CS) or Data/Command (DC) signals - these are managed externally via GPIO pins.
Required Operations:
transfer(byte): Full-duplex single-byte exchange (write + simultaneous read)write(data): Bulk write (transmit-only, ignore received data)Method Signatures:
Semantic Requirements:
transfer(byte): Transmits byte on MOSI, returns value received on MISOwrite(data): Transmits all bytes in data sequentiallytransfer() (avoids per-byte overhead)SPI Mode Configuration (not part of concept):
Chip Select (CS) Protocol:
Data/Command (DC) Protocol:
| T | Type to check for SpiBus conformance |