Atmel Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages

The following structures provide predefined USB interface descriptors.

It must be used to define the final USB descriptors.

Data Structures

struct  udi_dfu_atmel_desc_t
 Interface descriptor structure for Atmel DFU. More...
 

Macros

#define UDI_DFU_ATMEL_DESC
 Content of DFU interface descriptor for Full Speed. More...
 
#define UDI_DFU_ATMEL_STRING_ID   0
 By default no string associated to this interface. More...
 

#define UDI_DFU_ATMEL_DESC
Value:
{\
.iface.bLength = sizeof(usb_iface_desc_t),\
.iface.bDescriptorType = USB_DT_INTERFACE,\
.iface.bInterfaceNumber = UDI_DFU_ATMEL_IFACE_NUMBER,\
.iface.bAlternateSetting = 0,\
.iface.bNumEndpoints = 0,\
.iface.bInterfaceClass = CLASS_VENDOR_SPECIFIC,\
.iface.bInterfaceSubClass = 0,\
.iface.bInterfaceProtocol = 0,\
.iface.iInterface = UDI_DFU_ATMEL_STRING_ID,\
}
#define UDI_DFU_ATMEL_IFACE_NUMBER
Interface number.
Definition: udi_dfu_atmel_conf.h:64
Definition: usb_protocol.h:200
Standard USB interface descriptor structure.
Definition: usb_protocol.h:460
#define CLASS_VENDOR_SPECIFIC
Definition: usb_protocol.h:70
#define UDI_DFU_ATMEL_STRING_ID
By default no string associated to this interface.
Definition: udi_dfu_atmel.h:82

Content of DFU interface descriptor for Full Speed.

#define UDI_DFU_ATMEL_STRING_ID   0

By default no string associated to this interface.