Numworks Epsilon  1.4.1
Graphing Calculator Operating System
interface_descriptor.cpp
Go to the documentation of this file.
1 #include "interface_descriptor.h"
2 
3 namespace Ion {
4 namespace USB {
5 namespace Device {
6 
9  c->push(m_bInterfaceNumber);
10  c->push(m_bAlternateSetting);
11  c->push(m_bNumEndpoints);
12  c->push(m_bInterfaceClass);
13  c->push(m_bInterfaceSubClass);
14  c->push(m_bInterfaceProtocol);
15  c->push(m_iInterface);
16  if (m_additionalDescriptor != nullptr) {
17  m_additionalDescriptor->push(c);
18  }
19 }
20 
22  return Descriptor::bLength() + 7*sizeof(uint8_t);
23 }
24 
25 }
26 }
27 }
virtual uint8_t bLength() const override
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