{ { sizeof(USBEndpointDescriptor), ENDPOINT_DESCRIPTOR }, USBEndpointDescriptor_ADDRESS(ENDPOINT_DIRECTION_IN, EPT_1), ENDPOINT_TYPE_BULK, USBEndpointDescriptor_MAXBULKSIZE_FS, 0 /* Must be 0 for full-speed bulk endpoints */ } }; /** Language ID string descriptor */ const unsigned char languageIdStringDescriptor[] = { USBStringDescriptor_LENGTH(1), STRING_DESCRIPTOR, USBStringDescriptor_ENGLISH_US }; /** Product string descriptor */ const unsigned char productStringDescriptor[] = { USBStringDescriptor_LENGTH(13), STRING_DESCRIPTOR, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('T'), USBStringDescriptor_UNICODE('9'), USBStringDescriptor_UNICODE('1'), USBStringDescriptor_UNICODE('U'),
}, /* Audio streaming endpoint class-specific descriptor */ { sizeof(AUDDataEndpointDescriptor), AUDGenericDescriptor_ENDPOINT, AUDDataEndpointDescriptor_SUBTYPE, 0, /* No attributes */ 0, /* Endpoint is not synchronized */ 0 /* Endpoint is not synchronized */ } }; /** String descriptor with the supported languages. */ const unsigned char languageIdDescriptor[] = { USBStringDescriptor_LENGTH(1), USBGenericDescriptor_STRING, USBStringDescriptor_ENGLISH_US }; /** Manufacturer name. */ const unsigned char manufacturerDescriptor[] = { USBStringDescriptor_LENGTH(5), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('t'), USBStringDescriptor_UNICODE('m'), USBStringDescriptor_UNICODE('e'), USBStringDescriptor_UNICODE('l') };
HIDDTransferDriver_REPORTSIZE)), HIDDTransferDriverDescriptors_INTERRUPTOUT_POLLING } }; /** * Variables: String descriptors * languageIdDescriptor - Language ID string descriptor. * manufacturerDescriptor - Manufacturer name. * productDescriptor - Product name. * serialNumberDescriptor - Product serial number. * stringDescriptors - Array of pointers to string descriptors. */ static const unsigned char languageIdDescriptor[] = { USBStringDescriptor_LENGTH(1), USBGenericDescriptor_STRING, USBStringDescriptor_ENGLISH_US }; static const unsigned char manufacturerDescriptor[] = { USBStringDescriptor_LENGTH(5), USBGenericDescriptor_STRING, USBStringDescriptor_UNICODE('A'), USBStringDescriptor_UNICODE('T'), USBStringDescriptor_UNICODE('M'), USBStringDescriptor_UNICODE('E'), USBStringDescriptor_UNICODE('L') };