Module usb_device::endpoint

source ·
Expand description

USB endpoints.

Structs

Handle for a USB endpoint. The endpoint direction is constrained by the D type argument, which must be either In or Out.
Type-safe endpoint address.
Marker type for IN endpoints.
Marker type for OUT endpoints.

Enums

USB endpoint transfer type. The values of this enum can be directly cast into u8 to get the transfer bmAttributes transfer type bits.

Traits

Trait for endpoint type markers.

Type Definitions

A device-to-host (IN) endpoint.
A host-to-device (OUT) endpoint.