Numworks Epsilon
1.4.1
Graphing Calculator Operating System
webusb_platform_descriptor.cpp
Go to the documentation of this file.
1
#include "
webusb_platform_descriptor.h
"
2
3
namespace
Ion
{
4
namespace
USB
{
5
namespace
Device {
6
7
constexpr
uint8_t
WebUSBPlatformDescriptor::k_webUSBUUID[];
8
9
void
WebUSBPlatformDescriptor::push
(
Channel
*
c
)
const
{
10
PlatformDeviceCapabilityDescriptor::push
(
c
);
11
c
->push(m_bcdVersion);
12
c
->push(m_bVendorCode);
13
c
->push(m_iLandingPage);
14
}
15
16
uint8_t
WebUSBPlatformDescriptor::bLength
()
const
{
17
return
PlatformDeviceCapabilityDescriptor::bLength
() +
sizeof
(
uint16_t
) + 2*
sizeof
(
uint8_t
);
18
}
19
20
}
21
}
22
}
Ion::USB::Device::WebUSBPlatformDescriptor::push
void push(Channel *c) const override
Definition:
webusb_platform_descriptor.cpp:9
Ion::USB::Device::WebUSBPlatformDescriptor::bLength
virtual uint8_t bLength() const override
Definition:
webusb_platform_descriptor.cpp:16
Ion::USB::Device::PlatformDeviceCapabilityDescriptor::push
void push(Channel *c) const override
Definition:
platform_device_capability_descriptor.cpp:7
Ion::USB::Device::PlatformDeviceCapabilityDescriptor::bLength
virtual uint8_t bLength() const override
Definition:
platform_device_capability_descriptor.cpp:15
uint16_t
unsigned short uint16_t
Definition:
stdint.h:5
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
webusb_platform_descriptor.h
Ion
Definition:
backlight.h:6
epsilon
ion
src
device
usb
stack
webusb_platform_descriptor.cpp
Generated by
1.8.14