EFM32 Happy Gecko Software Documentation
efm32hg-doc-4.2.1
|
USB Interface Descriptor. More...
#include <em_usb.h>
Data Fields | |
uint8_t | bLength |
uint8_t | bDescriptorType |
uint8_t | bInterfaceNumber |
uint8_t | bAlternateSetting |
uint8_t | bNumEndpoints |
uint8_t | bInterfaceClass |
uint8_t | bInterfaceSubClass |
uint8_t | bInterfaceProtocol |
uint8_t | iInterface |
uint8_t USB_InterfaceDescriptor_TypeDef::bLength |
uint8_t USB_InterfaceDescriptor_TypeDef::bDescriptorType |
uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceNumber |
Number of this interface. Zero-based value identifying the index in the array of concurrent interfaces supported by this configuration.
Definition at line 461 of file em_usb.h.
Referenced by USBD_Init().
uint8_t USB_InterfaceDescriptor_TypeDef::bAlternateSetting |
Value used to select this alternate setting for the interface identified in the prior field.
Definition at line 464 of file em_usb.h.
Referenced by USBD_Init().
uint8_t USB_InterfaceDescriptor_TypeDef::bNumEndpoints |
uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceClass |
uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceSubClass |
Subclass code (assigned by the USB-IF). These codes are qualified by the value of the bInterfaceClass field. If the bInterfaceClass field is reset to zero, this field must also be reset to zero. If the bInterfaceClass field is not set to FFH, all values are reserved forassignment by the USB-IF.
uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceProtocol |
Protocol code (assigned by the USB). These codes are qualified by the value of the bInterfaceClass and the bInterfaceSubClass fields. If an interface supports class-specific requests, this code identifies the protocols that the device uses as defined by the specification of the device class. If this field is reset to zero, the device does not use a class-specific protocol on this interface. If this field is set to FFH, the device uses a vendor-specific protocol for this interface
uint8_t USB_InterfaceDescriptor_TypeDef::iInterface |