Crates.io | embassy-usb-synopsys-otg |
lib.rs | embassy-usb-synopsys-otg |
version | 0.1.0 |
source | src |
created_at | 2024-04-30 15:24:40.871269 |
updated_at | 2024-04-30 15:24:40.871269 |
description | `embassy-usb-driver` implementation for Synopsys OTG USB controllers |
homepage | |
repository | https://github.com/embassy-rs/embassy |
max_upload_size | |
id | 1225170 |
size | 211,344 |
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:
embassy-stm32
, for STMicroelectronics STM32 chips.esp-hal
, for Espressif ESP32 chips.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.