8 releases (4 breaking)

0.5.0 Jan 12, 2024
0.4.1 May 10, 2021
0.4.0 May 24, 2020
0.3.0 May 10, 2020
0.1.1 Mar 29, 2020

#17 in No standard library

Download history 4327/week @ 2024-07-31 5685/week @ 2024-08-07 5290/week @ 2024-08-14 4644/week @ 2024-08-21 5996/week @ 2024-08-28 7292/week @ 2024-09-04 4514/week @ 2024-09-11 4707/week @ 2024-09-18 4552/week @ 2024-09-25 3666/week @ 2024-10-02 3496/week @ 2024-10-09 4610/week @ 2024-10-16 4376/week @ 2024-10-23 4310/week @ 2024-10-30 3973/week @ 2024-11-06 3602/week @ 2024-11-13

16,944 downloads per month
Used in 67 crates (40 directly)

MIT/Apache

9KB

Display interface

This Rust crate contains a no_std compatible interface in form of traits to bridge between a bus driver and a display driver. The goal here is to allow display drivers to be written in a hardware interface agnostic way and prevent code duplication and missing implementations.

Crate features

Additional features can be enabled by adding the following features to your Cargo.toml.

  • defmt-03: implements defmt::Format for DisplayError.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

A generic display interface

This crate contains an error type and traits to implement for bus interface drivers drivers to be consumed by display drivers. It abstracts over the different communication methods available to drive a display and allows a driver writer to focus on driving the display itself and only have to implement a single interface.

Dependencies

~155KB