Numworks Epsilon  1.4.1
Graphing Calculator Operating System
device_descriptor.cpp
Go to the documentation of this file.
1 #include "device_descriptor.h"
2 
3 namespace Ion {
4 namespace USB {
5 namespace Device {
6 
9  c->push(m_bcdUSB);
10  c->push(m_bDeviceClass);
11  c->push(m_bDeviceSubClass);
12  c->push(m_bDeviceProtocol);
13  c->push(m_bMaxPacketSize0);
14  c->push(m_idVendor);
15  c->push(m_idProduct);
16  c->push(m_bcdDevice);
17  c->push(m_iManufacturer);
18  c->push(m_iProduct);
19  c->push(m_iSerialNumber);
20  c->push(m_bNumConfigurations);
21 }
22 
24  return Descriptor::bLength() + sizeof(uint16_t) + 4*sizeof(uint8_t) + 3*sizeof(uint16_t) + 4*sizeof(uint8_t);
25 }
26 
27 }
28 }
29 }
unsigned short uint16_t
Definition: stdint.h:5
void push(Channel *c) const override
unsigned char uint8_t
Definition: stdint.h:4
c(generic_all_nodes)
void push(Channel *c) const override
Definition: descriptor.cpp:8
virtual uint8_t bLength() const override
Definition: app.cpp:5
Definition: backlight.h:6
virtual uint8_t bLength() const
Definition: descriptor.h:22