#graphics #display #embedded

no-std display-interface

Traits for interfaces used to drive displays

6 releases (3 breaking)

0.4.0 May 24, 2020
0.3.0 May 10, 2020
0.2.1 Apr 16, 2020
0.1.1 Mar 29, 2020

#92 in No standard library

Download history 198/week @ 2020-06-01 599/week @ 2020-06-08 185/week @ 2020-06-15 82/week @ 2020-06-22 75/week @ 2020-06-29 65/week @ 2020-07-06 89/week @ 2020-07-13 80/week @ 2020-07-20 69/week @ 2020-07-27 57/week @ 2020-08-03 77/week @ 2020-08-10 108/week @ 2020-08-17 198/week @ 2020-08-24 352/week @ 2020-08-31 237/week @ 2020-09-07 69/week @ 2020-09-14

189 downloads per month
Used in less than 7 crates

MIT/Apache

8KB

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.

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.

No runtime deps