1 #ifndef ION_DEVICE_USB_STACK_INTERFACE_DESCRIPTOR_H 2 #define ION_DEVICE_USB_STACK_INTERFACE_DESCRIPTOR_H 10 class ConfigurationDescriptor;
25 m_bInterfaceNumber(bInterfaceNumber),
26 m_bAlternateSetting(bAlternateSetting),
27 m_bNumEndpoints(bNumEndpoints),
28 m_bInterfaceClass(bInterfaceClass),
29 m_bInterfaceSubClass(bInterfaceSubClass),
30 m_bInterfaceProtocol(bInterfaceProtocol),
31 m_iInterface(iInterface),
32 m_additionalDescriptor(additionalDescriptor)
38 void push(Channel *
c)
const override;
constexpr InterfaceDescriptor(uint8_t bInterfaceNumber, uint8_t bAlternateSetting, uint8_t bNumEndpoints, uint8_t bInterfaceClass, uint8_t bInterfaceSubClass, uint8_t bInterfaceProtocol, uint8_t iInterface, Descriptor *additionalDescriptor)
virtual uint8_t bLength() const override
void push(Channel *c) const override