#usb #peripheral #hal

no-std usb-host

Traits for USB host driver development

4 releases

0.1.3 Oct 12, 2022
0.1.2 Oct 8, 2019
0.1.1 Aug 11, 2019
0.1.0 Aug 4, 2019

#1806 in Embedded development

Download history 14/week @ 2024-02-26 2/week @ 2024-03-04 6/week @ 2024-03-11 66/week @ 2024-04-01

73 downloads per month
Used in 2 crates

LGPL-3.0-or-later

24KB
505 lines

usb-host

Documentation Testing

This is a collection of traits that mediate between drivers for USB peripherals and USB Host.

Warning

This is still very early days, yet, and everything should be considered experimental. However, it has been used to write a driver for a boot protocol keyboard, and can presumably be used for other drivers as well.

The traits and structures defined in this crate are probably not sufficient for general use. They are being kept purposefully minimal to ease maintenance burden for implementors of these traits. If you think there need to be further definitions, please open an issue (or, even better, a pull request) on github describing the need.

A (partial) list of things that need to be changed, or at least looked at, is maintained in TODO.org.

Device driver crates.

  • bootkbd - A very simple boot-protocol keyboard driver.

Host driver crates.

  • atsamd-usb-host - Host driver implementation for Atmel's SAMD* line of microcontrollers.

No runtime deps