class Endpoint

Defined at line 227 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)

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

const usb_endpoint_descriptor_t * descriptor ()

Defined at line 233 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 235 of file ../../src/devices/usb/lib/usb/include/usb/usb.h

bool has_companion ()

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