embassy/embassy-usb-driver
2023-05-08 23:25:01 +02:00
..
src Fix some typos 2023-05-08 23:25:01 +02:00
Cargo.toml usb-driver: remove unused log feature. 2022-12-26 03:34:05 +01:00
README.md usb: docs 2023-01-31 22:27:19 +01:00

embassy-usb-driver

This crate contains the driver traits for embassy-usb. HAL/BSP crates can implement these traits to add support for using embassy-usb for a given chip/platform.

The traits are kept in a separate crate so that breaking changes in the higher-level embassy-usb APIs don't cause a semver-major bump of thsi crate. This allows existing HALs/BSPs to be used with the newer embassy-usb without needing updates.

If you're writing an application using USB, you should depend on the main embassy-usb crate instead of this one.

Interoperability

This crate can run on any executor.

Minimum supported Rust version (MSRV)

This crate requires nightly Rust, due to using "async fn in trait" support.

License

This work is licensed under either of

at your option.