.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)\r
},\r
\r
- .CCI_Interface = \r
+ .CDC_CCI_Interface = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},\r
\r
.Data = {0x00, 0x01}\r
},\r
\r
- .ManagementEndpoint = \r
+ .CDC_ManagementEndpoint = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
\r
.PollingIntervalMS = 0xFF\r
},\r
\r
- .DCI_Interface = \r
+ .CDC_DCI_Interface = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},\r
\r
.InterfaceStrIndex = NO_DESCRIPTOR\r
},\r
\r
- .DataOutEndpoint = \r
+ .CDC_DataOutEndpoint = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
\r
.PollingIntervalMS = 0x00\r
},\r
\r
- .DataInEndpoint = \r
+ .CDC_DataInEndpoint = \r
{\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
\r
.UnicodeString = L"LUFA XPLAIN Bridge"\r
};\r
\r
+/** Descriptior retrieval function for the USART Bridge descriptors. This function is in turn called by the GetDescriptor\r
+ * callback function in the main source file, to retrieve the device's descriptors when in USART bridge mode.\r
+ */\r
uint16_t USART_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)\r
{\r
const uint8_t DescriptorType = (wValue >> 8);\r