Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stm32-rs/stm32-usbd
usb-device implementation for STM32 microcontrollers
https://github.com/stm32-rs/stm32-usbd
Last synced: 3 months ago
JSON representation
usb-device implementation for STM32 microcontrollers
- Host: GitHub
- URL: https://github.com/stm32-rs/stm32-usbd
- Owner: stm32-rs
- License: mit
- Created: 2019-03-24T19:30:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-02T05:10:14.000Z (7 months ago)
- Last Synced: 2024-10-06T12:05:56.598Z (4 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/usb-device
- Size: 288 KB
- Stars: 99
- Watchers: 15
- Forks: 24
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![crates.io](https://img.shields.io/crates/d/stm32-usbd.svg)](https://crates.io/crates/stm32-usbd)
[![crates.io](https://img.shields.io/crates/v/stm32-usbd.svg)](https://crates.io/crates/stm32-usbd)
![Build Status](https://github.com/stm32-rs/stm32-usbd/workflows/CI/badge.svg)# `stm32-usbd`
> [usb-device](https://github.com/mvirkkunen/usb-device) implementation for STM32
microcontrollers.This project is a successor to the [great work](https://github.com/mvirkkunen/stm32f103xx-usb)
started by [@mvirkkunen](https://github.com/mvirkkunen).## Supported microcontrollers
* `STM32F042xx`
* `STM32F048xx`
* `STM32F072xx`
* `STM32F078xx`
* `STM32F103xx`
* `STM32F303xC`
* `STM32L0x2xx`
* `STM32L4x2xx`
* 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.## Examples
Example applications may be found in the individual device HALs:
- [stm32f0xx-hal USB Serial](https://github.com/stm32-rs/stm32f0xx-hal/blob/master/examples/usb_serial.rs)
- [stm32f1xx-hal USB Serial](https://github.com/stm32-rs/stm32f1xx-hal/blob/master/examples/usb_serial.rs)
- [stm32f3xx-hal USB Serial](https://github.com/stm32-rs/stm32f3xx-hal/blob/master/examples/usb_serial.rs)
- [stm32l0xx-hal USB Serial](https://github.com/stm32-rs/stm32l0xx-hal/blob/master/examples/usb_serial.rs)
- [stm32l4xx-hal USB Serial](https://github.com/stm32-rs/stm32l4xx-hal/blob/master/examples/usb_serial.rs)