Module device

Source
Available on crate feature device only.
Expand description

Device-side USB packet channel (UPC)

Use UpcFunction::new to create an USB function that accepts incoming connections. Pass the returned handle to the usb_gadget library to expose the USB gadget.

Structsยง

InterfaceId
USB interface id.
UpcFunction
USB packet device-side function.
UpcReceiver
Receives data from a USB packet channel.
UpcSender
Sends data into a USB packet channel.
UpcSink
Packet sink into a USB packet channel.
UpcStream
Packet stream from a USB packet channel.