Crates.io | embassy-usb-driver |
lib.rs | embassy-usb-driver |
version | 0.1.0 |
source | src |
created_at | 2023-01-03 19:04:04.235394 |
updated_at | 2024-01-11 23:39:55.685091 |
description | Driver trait for `embassy-usb`, an async USB device stack for embedded devices. |
homepage | |
repository | https://github.com/embassy-rs/embassy |
max_upload_size | |
id | 750337 |
size | 16,503 |
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 this 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.
This crate can run on any executor.