3 unstable releases

0.2.0 Sep 27, 2022
0.1.1 Jan 3, 2022
0.1.0 Jul 7, 2021

#1967 in Embedded development

Download history 543/week @ 2024-01-02 566/week @ 2024-01-09 666/week @ 2024-01-16 681/week @ 2024-01-23 586/week @ 2024-01-30 580/week @ 2024-02-06 595/week @ 2024-02-13 706/week @ 2024-02-20 766/week @ 2024-02-27 967/week @ 2024-03-05 525/week @ 2024-03-12 668/week @ 2024-03-19 527/week @ 2024-03-26 721/week @ 2024-04-02 756/week @ 2024-04-09 934/week @ 2024-04-16

3,045 downloads per month
Used in 16 crates (2 directly)

MIT/Apache

550KB
17K SLoC

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.

Dependencies

~770KB