Skip to main content

Module endpoint

Module endpoint 

Source
Expand description

USB endpoint vocabulary.

Endpoint numbers, directions, transfer types and the direction markers both directions of the stack use. The device-side handles that own an allocated endpoint live in crate::device::endpoint.

Structs§

EndpointAddress
Type-safe USB endpoint address (number + direction encoded in one byte).
In
Direction marker for device-to-host (IN) endpoints.
Out
Direction marker for host-to-device (OUT) endpoints.

Enums§

Direction
USB transfer direction (host-centric: IN = device→host, OUT = host→device).
EndpointType
USB endpoint transfer type.
IsoSynchronization
Isochronous synchronization type (USB 2.0 §5.12.4.1).
IsoUsage
Isochronous usage type (USB 2.0 §9.6.6).

Traits§

EndpointDir
Marker trait for endpoint direction.