Expand description
Simple SPI driver for the GDEH0154D67 E-Paper display.
This crate is a no_std library that provides an interface compatible with embedded-hal-1.0.0-rc.1.
It is also designed to be used together with embedded-graphics.
It ensures a correct initialization and a consistent state at every moment by enforcing design
constrains at compile time using zero cost abstractions.
The crate has a std feature for use in fully std environments, the only effect of which is that error::Error implements std:error::Error.
There is also the heap_buffer feature, which allocates the internal graphics buffer on the heap, preventing stack overflows on more limited platorms.
This feature of course requires an allocator.
Modules§
- error
- Currently this module is work in progress.
Structs§
- GDEH0154
D67 - Main structure of the library, used to initialize and control de display.
- Initialized
- Sets the display as initialized, only after calling the method
init()the display is considered initialized. - NotInitialized
- Sets the display as not initialized. This state occurs when acquiring
a new instance of
GDEH0154D67or after doing areset()of the display.