Handbook
Glossary
libusb_device_descriptor
Vocabulary
libusb
Definition
USING:
alien.c-types
classes.struct
;
IN:
libusb
STRUCT:
libusb_device_descriptor
{
bLength
uint8_t
initial:
0
}
{
bDescriptorType
uint8_t
initial:
0
}
{
bcdUSB
uint16_t
initial:
0
}
{
bDeviceClass
uint8_t
initial:
0
}
{
bDeviceSubClass
uint8_t
initial:
0
}
{
bDeviceProtocol
uint8_t
initial:
0
}
{
bMaxPacketSize0
uint8_t
initial:
0
}
{
idVendor
uint16_t
initial:
0
}
{
idProduct
uint16_t
initial:
0
}
{
bcdDevice
uint16_t
initial:
0
}
{
iManufacturer
uint8_t
initial:
0
}
{
iProduct
uint8_t
initial:
0
}
{
iSerialNumber
uint8_t
initial:
0
}
{
bNumConfigurations
uint8_t
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
libusb
;
M:
libusb_device_descriptor
clone
clone-underlying
\
libusb_device_descriptor
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
libusb
;
M:
libusb_device_descriptor
struct-slot-values
{
[
bLength>>
]
[
bDescriptorType>>
]
[
bcdUSB>>
]
[
bDeviceClass>>
]
[
bDeviceSubClass>>
]
[
bDeviceProtocol>>
]
[
bMaxPacketSize0>>
]
[
idVendor>>
]
[
idProduct>>
]
[
bcdDevice>>
]
[
iManufacturer>>
]
[
iProduct>>
]
[
iSerialNumber>>
]
[
bNumConfigurations>>
]
}
cleave>array
;
inline