synopsys-usb-otg 0.1.0

'usb-device' implementation for Synopsys USB OTG IP cores
docs.rs failed to build synopsys-usb-otg-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: synopsys-usb-otg-0.4.0

crates.io crates.io Build Status

synopsys-usb-otg

usb-device implementation for Synopsys USB OTG IP cores.

This project is a successor to the great work started by @mvirkkunen.

Supported microcontrollers

  • STM32F429xx (OTG_FS and OTG_HS in FS mode)
  • STM32F401xx
  • And others...

Usage

This driver is intended for use through a device hal library. Such hal library should implement UsbPeripheral for the corresponding USB peripheral object. This trait declares all the peripheral properties that may vary from one device family to the other. Additionally, hal should pass fs of hs feature to the synopsys-usb-otg library to define a peripheral type:

  • fs - for FullSpeed peripherals
  • hs - for HighSpeed peripherals (only FS mode with internal PHY is supported)

Only one peripheral type can be selected at the moment.

Examples

See the usb-otg-workspace repo for different device-specific examples.