1 #ifndef ION_DEVICE_USB_STACK_DEVICE_DESCRIPTOR_H 2 #define ION_DEVICE_USB_STACK_DEVICE_DESCRIPTOR_H 27 m_bDeviceClass(bDeviceClass),
28 m_bDeviceSubClass(bDeviceSubClass),
29 m_bDeviceProtocol(bDeviceProtocol),
30 m_bMaxPacketSize0(bMaxPacketSize0),
32 m_idProduct(idProduct),
33 m_bcdDevice(bcdDevice),
34 m_iManufacturer(iManufacturer),
36 m_iSerialNumber(iSerialNumber),
37 m_bNumConfigurations(bNumConfigurations)
41 void push(Channel *
c)
const override;
void push(Channel *c) const override
virtual uint8_t bLength() const override
constexpr DeviceDescriptor(uint16_t bcdUSB, uint8_t bDeviceClass, uint8_t bDeviceSubClass, uint8_t bDeviceProtocol, uint8_t bMaxPacketSize0, uint16_t idVendor, uint16_t idProduct, uint16_t bcdDevice, uint8_t iManufacturer, uint8_t iProduct, uint8_t iSerialNumber, uint8_t bNumConfigurations)