Structsยง
- Config
Descriptor - Standard USB configuration descriptor as defined in USB 2.0 chapter 9, not including the standard header.
- Descriptor
Header - Standard USB descriptor header common to all descriptor types.
- Device
Descriptor - Standard USB device descriptor as defined in USB 2.0 chapter 9, not including the standard header.
- Endpoint
Descriptor - Standard USB endpoint descriptor as defined in USB 2.0 chapter 9, not including the standard header.
- Interface
Descriptor - Standard USB interface descriptor as defined in USB 2.0 chapter 9, not including the standard header.
- UsbRequest
Setup - RequestSetup is first part of control transfer buffer.
Enumsยง
- Control
Request Data Phase Transfer Direction - Control
Request Recipient - Recipient type of control request.
- Control
Request Type - Request types.
- Descriptor
Type - Standard USB descriptor types.
- Device
Speed - USB device speed
- Endpoint
Direction - Endpoint Directions.
- Endpoint
Type - Endpoint types.
- Standard
Control Request - Standard request defined in usb spec.
Constantsยง
- CONTROL_
REQUEST_ TYPE - Bit mask of control request type.
- CONTROL_
REQUEST_ TYPE_ OFFSET - Offset of control request type.
- DATA_
PHASE_ DIRECTION - Bit mask of data phase transfer direction.
- DATA_
PHASE_ DIRECTION_ OFFSET - Offset of data phase transfer direction.
- ENDPOINT_
DESCRIPTOR_ ๐ATTRIBUTES_ TYPE_ MASK - ENDPOINT_
DESCRIPTOR_ ๐DIRECTION_ MASK - ENDPOINT_
DESCRIPTOR_ ๐NUMBER_ MASK - ENDPOINT_
DIRECTION_ OFFSET - Endpoint direction offset.
- REQUEST_
RECIPIENT_ TYPE - Recipient type bits.
Traitsยง
- Descriptor
- Trait describing USB descriptors.
Functionsยง
- _assert_
config_ ๐descriptor - _assert_
descriptor_ ๐header - _assert_
device_ ๐descriptor - _assert_
endpoint_ ๐descriptor - _assert_
interface_ ๐descriptor - _assert_
usb_ ๐request_ setup - control_
request_ type - Construct a bmRequestType value for a control request.