10 releases (4 breaking)
✓ Uses Rust 2018 edition
|0.5.1||Feb 6, 2020|
|0.5.0||Nov 12, 2019|
|0.4.0||Sep 11, 2019|
|0.3.1||Aug 21, 2019|
|0.1.1||Jun 6, 2019|
#28 in Embedded development
309 downloads per month
Used in 8 crates (6 directly)
usb-device implementation for STM32 microcontrollers.
- And others...
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
ram_access_2x16 feature to the
stm32-usbd library to
define endpoint memory access scheme:
ram_access_1x16- for "1x16 bits/word" access scheme
ram_access_2x16- for "2x16 bits/word" access scheme
See the stm32-usbd-examples repo for different device-specific examples.
hal example for the reference hal implementation.