Standard USB Device Descriptor (LUFA naming conventions). More...
#include <StdDescriptors.h>
Data Fields | |
| uint8_t | Class |
| uint8_t | Endpoint0Size |
| USB_Descriptor_Header_t | Header |
| uint8_t | ManufacturerStrIndex |
| uint8_t | NumberOfConfigurations |
| uint16_t | ProductID |
| uint8_t | ProductStrIndex |
| uint8_t | Protocol |
| uint16_t | ReleaseNumber |
| uint8_t | SerialNumStrIndex |
| uint8_t | SubClass |
| uint16_t | USBSpecification |
| uint16_t | VendorID |
Type define for a standard Device Descriptor. This structure uses LUFA-specific element names to make each element's purpose clearer.
| uint8_t USB_Descriptor_Device_t::Class |
USB device class.
| uint8_t USB_Descriptor_Device_t::Endpoint0Size |
Size of the control (address 0) endpoint's bank in bytes.
| USB_Descriptor_Header_t USB_Descriptor_Device_t::Header |
Descriptor header, including type and size.
| uint8_t USB_Descriptor_Device_t::ManufacturerStrIndex |
String index for the manufacturer's name. The host will request this string via a separate control request for the string descriptor.
| uint8_t USB_Descriptor_Device_t::NumberOfConfigurations |
Total number of configurations supported by the device.
| uint16_t USB_Descriptor_Device_t::ProductID |
Unique product ID for the USB product.
| uint8_t USB_Descriptor_Device_t::ProductStrIndex |
String index for the product name/details.
| uint8_t USB_Descriptor_Device_t::Protocol |
USB device protocol.
| uint16_t USB_Descriptor_Device_t::ReleaseNumber |
Product release (version) number.
| uint8_t USB_Descriptor_Device_t::SerialNumStrIndex |
String index for the product's globally unique hexadecimal serial number, in uppercase Unicode ASCII.
USE_INTERNAL_SERIAL. On unsupported devices, this will evaluate to NO_DESCRIPTOR and will cause the host to generate a pseudo-unique value for the device upon insertion.ManufacturerStrIndex structure entry. | uint8_t USB_Descriptor_Device_t::SubClass |
USB device subclass.
| uint16_t USB_Descriptor_Device_t::USBSpecification |
BCD of the supported USB specification.
| uint16_t USB_Descriptor_Device_t::VendorID |
Vendor ID for the USB product.