Numworks Epsilon  1.4.1
Graphing Calculator Operating System
configuration_descriptor.cpp
Go to the documentation of this file.
2 
3 namespace Ion {
4 namespace USB {
5 namespace Device {
6 
9  c->push(m_wTotalLength);
10  c->push(m_bNumInterfaces);
11  c->push(m_bConfigurationValue);
12  c->push(m_iConfiguration);
13  c->push(m_bmAttributes);
14  c->push(m_bMaxPower);
15  for (uint8_t i = 0; i < m_bNumInterfaces; i++) {
16  m_interfaces[i].push(c);
17  }
18 }
19 
21  return Descriptor::bLength() + sizeof(uint16_t) + 5*sizeof(uint8_t);
22 }
23 
24 }
25 }
26 }
unsigned short uint16_t
Definition: stdint.h:5
unsigned char uint8_t
Definition: stdint.h:4
c(generic_all_nodes)
void push(Channel *c) const override
Definition: descriptor.cpp:8
Definition: app.cpp:5
void push(Channel *c) const override
Definition: backlight.h:6
virtual uint8_t bLength() const
Definition: descriptor.h:22