nrf-usbd

Crates.ionrf-usbd
lib.rsnrf-usbd
version0.3.0
sourcesrc
created_at2021-07-07 11:19:19.456234
updated_at2024-05-23 10:19:22.887006
descriptionUSB driver for nRF microcontrollers
homepage
repositoryhttps://github.com/nrf-rs/nrf-usbd
max_upload_size
id419870
size562,455
All (github:nrf-rs:all)

documentation

README

crates.io Documentation Build Status

nrf-usbd

usb-device implementation for Nordic Semiconductor nRF microcontrollers.

Supported microcontrollers

  • nrf52840
  • nrf52833
  • nrf52820
  • nrf5340, maybe?

Usage

This driver is relatively low-level, and is intended for use through a 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

See the nrf-hal for the reference HAL implementation.

See the example directory for an example on how to use it standalone without a HAL. This is discouraged, the recommended usage is through nrf-hal.

Commit count: 86

cargo fmt