Crates.io | it8951 |
lib.rs | it8951 |
version | 0.4.0 |
source | src |
created_at | 2023-07-20 15:27:09.55761 |
updated_at | 2024-06-19 15:18:19.152108 |
description | A IT8951 E-Paper driver |
homepage | |
repository | https://github.com/pbert519/it8951 |
max_upload_size | |
id | 921361 |
size | 80,418 |
This crate is mainly developed for the waveshare 7.8" epaper display using spi: https://www.waveshare.com/wiki/7.8inch_e-Paper_HAT The driver uses the embedded_hal traits as hardware abstraction layer. This driver can be used with the embedded graphics trait, currently only supporing Gray4 (16bit grayscale).
Firmware and LUT version string read from the controller
Staging buffers to write pixel to the controller. The buffers are allocated as needed, but only one buffer at a time and with up to 1kByte of size.
When reading controller memory a staging buffer with the size of of the requested data is created.
new
expects a Config
parameter to set timeout and buffer size. Default is implemented with timeouts of 15s and buffer size is 1024 Bytes.load_image_area
, load_image
, and memory_burst_write
functions are now using u8 as buffer typeinit
no longer clears the eink display. Instead call reset
directly.