stm32-usbd

Crates.iostm32-usbd
lib.rsstm32-usbd
version0.7.0
sourcesrc
created_at2019-06-05 13:38:35.526276
updated_at2024-07-02 05:10:25.314558
description'usb-device' implementation for STM32 microcontrollers
homepage
repositoryhttps://github.com/stm32-rs/stm32-usbd
max_upload_size
id139144
size159,972
stm32-usb (github:stm32-rs:stm32-usb)

documentation

README

crates.io crates.io Build Status

stm32-usbd

usb-device implementation for STM32 microcontrollers.

This project is a successor to the great work started by @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:

Commit count: 228

cargo fmt