#usb #hal #async #embedded-hal

no-std embassy-usb-synopsys-otg

embassy-usb-driver implementation for Synopsys OTG USB controllers

1 unstable release

0.1.0 Apr 30, 2024

#1795 in Embedded development

Download history 110/week @ 2024-04-24 1025/week @ 2024-05-01 726/week @ 2024-05-08 827/week @ 2024-05-15 2908/week @ 2024-05-22 2150/week @ 2024-05-29 2198/week @ 2024-06-05 1616/week @ 2024-06-12 1826/week @ 2024-06-19 2988/week @ 2024-06-26

8,940 downloads per month
Used in 2 crates (via esp-hal)

MIT/Apache

415KB
10K SLoC

Embassy USB driver for the Synopsys USB OTG core

This crate implements embassy-usb-driver for Synopsys USB OTG devices.

It contains the "core" of the driver that is common across all chips using the Synopsys OTG IP, but it doesn't contain chip-specific initialization such as clock setup and GPIO muxing. You most likely don't want to use this crate directly, but use it through a HAL that does the initialization for you.

List of HALs integrating this driver:

If you wish to integrate this crate into your device's HAL, you will need to add the device-specific initialization. See the above crates for examples on how to do it.

Dependencies

~1–1.5MB
~28K SLoC