Expand description
USB 2.0 data types and packet parser
This library does not contain any I/O functionality. If you are looking for a device-side
USB library check out usb-device
.
§References
- (USB2) Universal Serial Bus Specification Revision 2.0 (April 27, 2000)
- (USBCDC1.2) Universal Serial Bus Class Definitions for Communications Devices 1.2 (Errata 1) (November 3, 2010)
- (USBIAD) Interface Association Descriptors Engineering Change Notice
- (USBPTSN1.2) Universal Serial Bus Communication Class Subclass Specification for PTSN Devices Revision 1.2 (February 9, 2007)
- (HID1.11) Device Class Definition for Human Interface Devices (HID) version 1.11 (6/27/01)
Modules§
- cdc
- Class Communication Device
- configuration
- Configuration descriptors
- device
- Device descriptors
- endpoint
- Endpoint descriptors
- hid
- Human Interface Device (HID)
- ia
- Interface Association Descriptors
- interface
- Interface descriptors
Structs§
- Endpoint
- Endpoint address
Enums§
- Clear
Feature - CLEAR_FEATURE feature selector
- Direction
- Direction from the point of view of the host
- GetDescriptor
- GET_DESCRIPTOR descriptor
- GetStatus
- Argument of the GET_STATUS request
- Request
- Control endpoint requests
- SetDescriptor
- SET_DESCRIPTOR descriptor
- SetFeature
- SET_FEATURE feature selector
- Standard
Request - Standard device requests
- State
- The state of the USB device
- Test
- Test selector
Type Aliases§
- Address
- Device address assigned by the host; will be in the range 1..=127