25 const USB_DeviceDescriptor_TypeDef
28 .bLength = USB_DEVICE_DESCSIZE,
29 .bDescriptorType = USB_DEVICE_DESCRIPTOR,
34 .bMaxPacketSize0 = USB_FS_CTRL_EP_MAXSIZE,
41 .bNumConfigurations = 1
50 USB_CONFIG_DESCRIPTOR,
53 USB_INTERFACE_DESCSIZE +
54 (USB_ENDPOINT_DESCSIZE * NUM_EP_USED),
56 (USB_CONFIG_DESCSIZE +
57 USB_INTERFACE_DESCSIZE +
58 (USB_ENDPOINT_DESCSIZE * NUM_EP_USED))>>8,
64 #
if defined(SLAB_USB_BUS_POWERED)
65 CONFIG_DESC_BM_RESERVED_D7,
67 CONFIG_DESC_BM_RESERVED_D7 |
68 CONFIG_DESC_BM_SELFPOWERED,
70 CONFIG_DESC_MAXPOWER_mA(100),
73 USB_INTERFACE_DESCSIZE,
74 USB_INTERFACE_DESCRIPTOR,
84 USB_ENDPOINT_DESCSIZE,
85 USB_ENDPOINT_DESCRIPTOR,
88 USB_FS_BULK_EP_MAXSIZE,
93 USB_ENDPOINT_DESCSIZE,
94 USB_ENDPOINT_DESCRIPTOR,
97 USB_FS_BULK_EP_MAXSIZE,
107 0x04, 0x03, 0x09, 0x04
118 #define MSOS_DESC_LEN sizeof ("MSFT100\x01") * 2
120 const uint8_t USBXCORE_microsoftOsDesc[] SL_ATTRIBUTE_ALIGN(4) =
136 USBXCORE_extendedCompatIdOsFeatureDesc SL_ATTRIBUTE_ALIGN(4) =
143 {0, 0, 0, 0, 0, 0, 0},
150 {0, 0, 0, 0, 0, 0, 0, 0},
159 USBXCORE_extendedPropertiesDesc SL_ATTRIBUTE_ALIGN(4) =
USB protocol stack library, application supplied configuration options.
#define GUID_PROPERTY
GUID Property (USBXpress Device Interface GUID - {3C5E1462-5695-4e18-876B-F3F3D08AAF18}) ...
const uint8_t USBXCORE_configDescInit[]
USB Configuration Descriptor.
const uint8_t USBXCORE_stringLangDesc[]
USB Language String Descriptor.
Extended Properties Descriptor Typedef.
#define MSOS_DESC_LEN
Microsoft OS Descriptor.
#define SL_ALIGN(X)
Macro for aligning a variable. Use this macro before the variable definition. X denotes the stora...
const uint8_t USBXCORE_buffMult[]
USB Buffer Multiplier.
#define GUID_PROPERTY_NAME_LEN
Length of GUID Property Name.
#define FEATURE_EXTENDED_COMPATIBILITY_ID
Extended Compatibility ID Descriptor.
Primary header file. Contains internal global declarations and definitions.
#define GUID_PROPERTY_NAME
GUID Property Name (DeviceInterfaceGUIDs)
#define GUID_PROPERTY_DESCRIPTOR_SIZE
Size of Property Descriptor for the GUID Property.
#define EXT_COMP_VENDOR_CODE
Vendor-defined Extended Compatibility Code.
#define FEATURE_EXTENDED_PROPERTIES_ID
Extended Properties ID Descriptor.
#define GUID_PROPERTY_LEN
Length of GUID Property.
#define NUM_IFCS_WITH_EXT_COMPAT
Number of interfaces with extended compatibility descriptors.
Header file for USB and VCP Initial Descriptors.
#define EXTENDED_PROPERTY_TYPE_MULTI_SZ
Multiple NUL-terminated Unicode Strings.
#define EXT_COMP_DESC_SIZE
Size of Extended Compatibility Descriptor.
Compatible ID Feature Descriptor Typedef.
#define PROPERTIES_DESCRIPTOR_SIZE
Total Size of Extended Properties Descriptor.
const USB_DeviceDescriptor_TypeDef USBXCORE_deviceDescInit SL_ATTRIBUTE_ALIGN(4)
USB Device Descriptor.