embassy/embassy-usb-driver/README.md

18 lines
670 B
Markdown
Raw Permalink Normal View History

2023-01-31 21:27:19 +00: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`]
2023-11-25 21:31:03 +00:00
APIs don't cause a semver-major bump of this crate. This allows existing HALs/BSPs to be used
2023-01-31 21:27:19 +00:00
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.
[`embassy-usb`]: https://crates.io/crates/embassy-usb
## Interoperability
This crate can run on any executor.