| 8 | protected: |
| 9 | public: |
| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected