Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.
This commit is contained in:
parent
b162540099
commit
04660d3793
49 changed files with 179 additions and 20 deletions
|
@ -66,10 +66,12 @@
|
|||
typedef struct
|
||||
{
|
||||
USB_Descriptor_Configuration_Header_t Config;
|
||||
USB_Descriptor_Interface_t Interface;
|
||||
USB_Descriptor_Endpoint_t DataOutEndpoint;
|
||||
USB_Descriptor_Endpoint_t DataInEndpoint;
|
||||
USB_Descriptor_Endpoint_t NotificationEndpoint;
|
||||
|
||||
// Test and Measurement Interface
|
||||
USB_Descriptor_Interface_t TM_Interface;
|
||||
USB_Descriptor_Endpoint_t TM_DataOutEndpoint;
|
||||
USB_Descriptor_Endpoint_t TM_DataInEndpoint;
|
||||
USB_Descriptor_Endpoint_t TM_NotificationEndpoint;
|
||||
} USB_Descriptor_Configuration_t;
|
||||
|
||||
/* Function Prototypes: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue