Numworks Epsilon
1.4.1
Graphing Calculator Operating System
platform_device_capability_descriptor.cpp
Go to the documentation of this file.
1
#include "
platform_device_capability_descriptor.h
"
2
3
namespace
Ion
{
4
namespace
USB
{
5
namespace
Device {
6
7
void
PlatformDeviceCapabilityDescriptor::push
(
Channel
*
c
)
const
{
8
DeviceCapabilityDescriptor::push
(
c
);
9
c
->push(m_bReserved);
10
for
(
int
i = 0; i < k_platformCapabilityUUIDSize; i++) {
11
c
->push(m_platformCapabilityUUID[i]);
12
}
13
}
14
15
uint8_t
PlatformDeviceCapabilityDescriptor::bLength
()
const
{
16
return
DeviceCapabilityDescriptor::bLength
() +
sizeof
(
uint8_t
) + k_platformCapabilityUUIDSize*
sizeof
(
uint8_t
);
17
}
18
19
}
20
}
21
}
Ion::USB::Device::PlatformDeviceCapabilityDescriptor::push
void push(Channel *c) const override
Definition:
platform_device_capability_descriptor.cpp:7
platform_device_capability_descriptor.h
Ion::USB::Device::DeviceCapabilityDescriptor::push
void push(Channel *c) const override
Definition:
device_capability_descriptor.cpp:7
Ion::USB::Device::PlatformDeviceCapabilityDescriptor::bLength
virtual uint8_t bLength() const override
Definition:
platform_device_capability_descriptor.cpp:15
uint8_t
unsigned char uint8_t
Definition:
stdint.h:4
c
c(generic_all_nodes)
Ion::USB::Device::Streamable::Channel
Definition:
streamable.h:15
USB
Definition:
app.cpp:5
Ion::USB::Device::DeviceCapabilityDescriptor::bLength
virtual uint8_t bLength() const override
Definition:
device_capability_descriptor.cpp:12
Ion
Definition:
backlight.h:6
epsilon
ion
src
device
usb
stack
platform_device_capability_descriptor.cpp
Generated by
1.8.14