Module capsules_extra::usb::descriptors

source ·
Expand description

Platform-independent USB 2.0 protocol library.

Mostly data types for USB descriptors.

Structs§

Enums§

Traits§

Functions§

  • Transform descriptor structs into descriptor buffers that can be passed into the control endpoint handler. Each endpoint descriptor list corresponds to the matching index in the interface descriptor list. For example, if the interface descriptor list contains [ID1, ID2, ID3], and the endpoint descriptors list is [[ED1, ED2], [ED3, ED4, ED5], [ED6]], then the third interface descriptor (ID3) has one corresponding endpoint descriptor (ED6).