MCPcopy Create free account
hub / github.com/cathery/sys-con / InterfaceDescriptor

Class InterfaceDescriptor

source/ControllerLib/IUSBInterface.h:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8protected:
9public:
10 struct InterfaceDescriptor
11 {
12 uint8_t bLength;
13 uint8_t bDescriptorType; ///< Must match USB_DT_INTERFACE.
14 uint8_t bInterfaceNumber; ///< See also USBDS_DEFAULT_InterfaceNumber.
15 uint8_t bAlternateSetting; ///< Must match 0.
16 uint8_t bNumEndpoints;
17 uint8_t bInterfaceClass;
18 uint8_t bInterfaceSubClass;
19 uint8_t bInterfaceProtocol;
20 uint8_t iInterface; ///< Ignored.
21 };
22 virtual ~IUSBInterface() = default;
23
24 virtual Result Open() = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected