Numworks Epsilon
1.4.1
Graphing Calculator Operating System
language_id_string_descriptor.cpp
Go to the documentation of this file.
1
#include "
language_id_string_descriptor.h
"
2
#include <string.h>
3
4
namespace
Ion
{
5
namespace
USB
{
6
namespace
Device {
7
8
void
LanguageIDStringDescriptor::push
(
Channel
*
c
)
const
{
9
Descriptor::push
(
c
);
10
c
->push((
uint16_t
)(0x0409));
11
}
12
13
uint8_t
LanguageIDStringDescriptor::bLength
()
const
{
14
return
Descriptor::bLength
() +
sizeof
(
uint16_t
);
15
}
16
17
}
18
}
19
}
Ion::USB::Device::LanguageIDStringDescriptor::bLength
virtual uint8_t bLength() const override
Definition:
language_id_string_descriptor.cpp:13
language_id_string_descriptor.h
Ion::USB::Device::LanguageIDStringDescriptor::push
void push(Channel *c) const override
Definition:
language_id_string_descriptor.cpp:8
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::Descriptor::push
void push(Channel *c) const override
Definition:
descriptor.cpp:8
Ion::USB::Device::Streamable::Channel
Definition:
streamable.h:15
USB
Definition:
app.cpp:5
Ion
Definition:
backlight.h:6
Ion::USB::Device::Descriptor::bLength
virtual uint8_t bLength() const
Definition:
descriptor.h:22
epsilon
ion
src
device
usb
stack
language_id_string_descriptor.cpp
Generated by
1.8.14