Expand description
Endpoint handles owned by the device stack.
Endpoint (and its type aliases EndpointIn / EndpointOut) provide
type-safe access to an individual USB endpoint. A class constructor receives
a reference to the UsbBusAllocator, which allocates endpoints and returns
handles that borrow from that allocator. The owned bus inside the allocator
is therefore kept alive for as long as any endpoint handle exists.
Structs§
- Endpoint
- A handle to a specific USB endpoint.
Type Aliases§
- Endpoint
In - A device-to-host (IN) endpoint handle.
- Endpoint
Out - A host-to-device (OUT) endpoint handle.