Module usb_device::endpoint[][src]

USB endpoints.

Structs

Endpoint

Handle for a USB endpoint. The endpoint direction is constrained by the D type argument, which must be either In or Out.

EndpointAddress

Type-safe endpoint address.

In

Marker type for IN endpoints.

Out

Marker type for OUT endpoints.

Enums

EndpointType

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

Traits

EndpointDirection

Trait for endpoint type markers.

Type Definitions

EndpointIn

A device-to-host (IN) endpoint.

EndpointOut

A host-to-device (OUT) endpoint.