The following structures provide predefined USB interface descriptors.
It must be used to define the final USB descriptors.
Data Structures | |
struct | udi_vendor_desc_t |
Interface descriptor structure for vendor Class interface. More... | |
Macros | |
#define | UDI_VENDOR_DESC |
Content of vendor interface descriptor for all speeds. More... | |
#define | UDI_VENDOR_DESC_FS |
Content of vendor interface descriptor for full speed only. More... | |
#define | UDI_VENDOR_DESC_HS |
Content of vendor interface descriptor for high speed only. More... | |
#define | UDI_VENDOR_EP_NB (UDI_VENDOR_EP_NB_INT+UDI_VENDOR_EP_NB_BULK+UDI_VENDOR_EP_NB_ISO) |
#define | UDI_VENDOR_EP_NB_BULK ((UDI_VENDOR_EPS_SIZE_BULK_FS)?2:0) |
#define | UDI_VENDOR_EP_NB_INT ((UDI_VENDOR_EPS_SIZE_INT_FS)?2:0) |
Maximum 6 endpoints used by vendor interface. More... | |
#define | UDI_VENDOR_EP_NB_ISO ((UDI_VENDOR_EPS_SIZE_ISO_FS)?2:0) |
#define | UDI_VENDOR_STRING_ID 0 |
By default no string associated to this interface. More... | |
Endpoint descriptors | |
#define | UDI_VENDOR_EPS_INT_DESC |
#define | UDI_VENDOR_EPS_INT_DESC_FS |
#define | UDI_VENDOR_EPS_INT_DESC_HS |
#define | UDI_VENDOR_EPS_BULK_DESC |
#define | UDI_VENDOR_EPS_BULK_DESC_FS |
#define | UDI_VENDOR_EPS_BULK_DESC_HS |
#define | UDI_VENDOR_EPS_ISO_DESC |
#define | UDI_VENDOR_EPS_ISO_DESC_FS |
#define | UDI_VENDOR_EPS_ISO_DESC_HS |
#define UDI_VENDOR_DESC |
Content of vendor interface descriptor for all speeds.
#define UDI_VENDOR_DESC_FS |
Content of vendor interface descriptor for full speed only.
#define UDI_VENDOR_DESC_HS |
Content of vendor interface descriptor for high speed only.
#define UDI_VENDOR_EP_NB (UDI_VENDOR_EP_NB_INT+UDI_VENDOR_EP_NB_BULK+UDI_VENDOR_EP_NB_ISO) |
#define UDI_VENDOR_EP_NB_BULK ((UDI_VENDOR_EPS_SIZE_BULK_FS)?2:0) |
#define UDI_VENDOR_EP_NB_INT ((UDI_VENDOR_EPS_SIZE_INT_FS)?2:0) |
Maximum 6 endpoints used by vendor interface.
#define UDI_VENDOR_EP_NB_ISO ((UDI_VENDOR_EPS_SIZE_ISO_FS)?2:0) |
#define UDI_VENDOR_EPS_BULK_DESC |
#define UDI_VENDOR_EPS_BULK_DESC_FS |
#define UDI_VENDOR_EPS_BULK_DESC_HS |
#define UDI_VENDOR_EPS_INT_DESC |
#define UDI_VENDOR_EPS_INT_DESC_FS |
#define UDI_VENDOR_EPS_INT_DESC_HS |
#define UDI_VENDOR_EPS_ISO_DESC |
#define UDI_VENDOR_EPS_ISO_DESC_FS |
#define UDI_VENDOR_EPS_ISO_DESC_HS |
#define UDI_VENDOR_STRING_ID 0 |
By default no string associated to this interface.