Module types

Source

Structsยง

ConfigDescriptor
Standard USB configuration descriptor as defined in USB 2.0 chapter 9, not including the standard header.
DescriptorHeader
Standard USB descriptor header common to all descriptor types.
DeviceDescriptor
Standard USB device descriptor as defined in USB 2.0 chapter 9, not including the standard header.
EndpointDescriptor
Standard USB endpoint descriptor as defined in USB 2.0 chapter 9, not including the standard header.
InterfaceDescriptor
Standard USB interface descriptor as defined in USB 2.0 chapter 9, not including the standard header.
UsbRequestSetup
RequestSetup is first part of control transfer buffer.

Enumsยง

ControlRequestDataPhaseTransferDirection
ControlRequestRecipient
Recipient type of control request.
ControlRequestType
Request types.
DescriptorType
Standard USB descriptor types.
DeviceSpeed
USB device speed
EndpointDirection
Endpoint Directions.
EndpointType
Endpoint types.
StandardControlRequest
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.