#hid #usb-device #no-std

no-std usbd-hid-device

USB HID class support for microcontrollers

2 releases

0.1.1 Feb 2, 2020
0.1.0 Feb 2, 2020

#22 in #usb-device

25 downloads per month

MIT/Apache

10KB
78 lines

USB HID device support for embedded devices

This crate provides minimalistic USB HID support for microcontrollers containing USB peripheral. It works with any microcontroler with usb-device support in HAL.

The support for HID provided by this crate is type-safe. Since USB HID requires complex report descriptors for all reports, only sending of structures that have associated HID report descriptor is permitted.

There is complete usage example in usb-hid-device-example.

Dependencies

~220KB