#async #driver #embedded-hal-driver #no-std

nightly no-std device-register-async

A no_std library to describe the registers permissions of a device to ease driver development

5 unstable releases

0.3.1 Jan 16, 2023
0.3.0 Nov 29, 2022
0.2.0 Oct 12, 2022
0.1.1 Sep 28, 2022
0.1.0 Aug 22, 2022

#1826 in Embedded development

Download history 9/week @ 2023-02-04 11/week @ 2023-02-11 12/week @ 2023-02-18 10/week @ 2023-02-25 1/week @ 2023-03-04 2/week @ 2023-03-11 11/week @ 2023-03-18 3/week @ 2023-03-25 5/week @ 2023-04-01 20/week @ 2023-04-08 5/week @ 2023-04-15 2/week @ 2023-04-22 18/week @ 2023-04-29 27/week @ 2023-05-06 18/week @ 2023-05-13 19/week @ 2023-05-20

84 downloads per month

MIT/Apache

20KB
150 lines

device-register-async

crates.io documentation

An async version of the trait from the crate device-register Note that you will need to use nightly and add those features.

#![allow(incomplete_features)]
#![feature(async_fn_in_trait, impl_trait_projections)]

For now you are probably better off using the traits directly, check the manual-impl test in the deivce-register crate.

License: MIT OR Apache-2.0


lib.rs:

crates.io documentation

An async version of the trait from the crate device-register Note that you will need to use nightly and enable and type_alias_impl_trait features.

Dependencies

~2.5MB
~52K SLoC