diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-01-31 22:27:19 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-01-31 22:27:19 +0100 |
| commit | ca10fe7135d10084e38038f3cd433da39e505bea (patch) | |
| tree | 075aca4a76caccd1bba95869c64bbb838969c8b1 /embassy-usb-driver/README.md | |
| parent | 4c1946454874597c358e7c7d5bf555b687376a5b (diff) | |
usb: docs
Diffstat (limited to 'embassy-usb-driver/README.md')
| -rw-r--r-- | embassy-usb-driver/README.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/embassy-usb-driver/README.md b/embassy-usb-driver/README.md new file mode 100644 index 000000000..012663c3f --- /dev/null +++ b/embassy-usb-driver/README.md | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # embassy-usb-driver | ||
| 2 | |||
| 3 | This crate contains the driver traits for [`embassy-usb`]. HAL/BSP crates can implement these | ||
| 4 | traits to add support for using `embassy-usb` for a given chip/platform. | ||
| 5 | |||
| 6 | The traits are kept in a separate crate so that breaking changes in the higher-level [`embassy-usb`] | ||
| 7 | APIs don't cause a semver-major bump of thsi crate. This allows existing HALs/BSPs to be used | ||
| 8 | with the newer `embassy-usb` without needing updates. | ||
| 9 | |||
| 10 | If you're writing an application using USB, you should depend on the main [`embassy-usb`] crate | ||
| 11 | instead of this one. | ||
| 12 | |||
| 13 | [`embassy-usb`]: https://crates.io/crates/embassy-usb | ||
| 14 | |||
| 15 | ## Interoperability | ||
| 16 | |||
| 17 | This crate can run on any executor. | ||
| 18 | |||
| 19 | ## Minimum supported Rust version (MSRV) | ||
| 20 | |||
| 21 | This crate requires nightly Rust, due to using "async fn in trait" support. | ||
| 22 | |||
| 23 | ## License | ||
| 24 | |||
| 25 | This work is licensed under either of | ||
| 26 | |||
| 27 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 28 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 29 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 30 | |||
| 31 | at your option. | ||
| 32 | |||
