embassy-usb-host

Crates

git

Versions

default

Flavors

Module control

Module control 

Source
Expand description

Standard USB control request builders and the ControlChannelExt trait.

Modules§

channel
Type-level channel markers for endpoint type and direction.

Traits§

ControlChannelExt
Extension trait providing higher-level control request methods on a USB control channel.

Functions§

class_interface_in_with_data
Build a class-specific interface request SETUP packet (IN, with data).
class_interface_out
Build a class-specific interface request SETUP packet (OUT, no data).
class_interface_out_with_data
Build a class-specific interface request SETUP packet (OUT, with data).
get_config_descriptor
Build a GET_DESCRIPTOR(Configuration) SETUP packet.
get_device_descriptor
Build a GET_DESCRIPTOR(Device) SETUP packet.
get_hid_report_descriptor
Build a GET_DESCRIPTOR(HID Report Descriptor) SETUP packet (Standard, Interface).
set_address
Build a SET_ADDRESS SETUP packet.
set_configuration
Build a SET_CONFIGURATION SETUP packet.