class Endpoint

Defined at line 265 of file ../../src/devices/usb/lib/usb/include/usb/usb.h

Endpoint is accessed by iterating on EndpointList. It contains pointers to an endpoint descriptor

and its (optional) SuperSpeed companion descriptor (see usb3.2 ch9.6.7). The returned descriptor

pointers are valid for the lifetime of the InterfaceList used to create the EndpointList (see

EndpointList documentation below.)

Public Methods

void Endpoint (const usb_endpoint_descriptor_t * descriptor, std::optional<const usb_ss_ep_comp_descriptor_t *> ss_companion, std::optional<const usb_ss_isoch_ep_comp_descriptor_t *> ss_isoch_companion)

Defined at line 267 of file ../../src/devices/usb/lib/usb/include/usb/usb.h

const usb_endpoint_descriptor_t * descriptor ()

Defined at line 275 of file ../../src/devices/usb/lib/usb/include/usb/usb.h

std::optional<const usb_ss_ep_comp_descriptor_t *> ss_companion ()

Defined at line 277 of file ../../src/devices/usb/lib/usb/include/usb/usb.h

std::optional<const usb_ss_isoch_ep_comp_descriptor_t *> ss_isoch_companion ()

Defined at line 278 of file ../../src/devices/usb/lib/usb/include/usb/usb.h

bool has_companion ()

Defined at line 281 of file ../../src/devices/usb/lib/usb/include/usb/usb.h