app_usbd_descriptor_iface_t

nRF5 SDK v13.1.0

Interface descriptor. More...

#include <app_usbd_descriptor.h>

Data Fields

uint8_t bLength
Size of the descriptor in bytes.
uint8_t bDescriptorType
Should equal to APP_USBD_DESCRIPTOR_INTERFACE .
uint8_t bInterfaceNumber
Number of this interface.
uint8_t bAlternateSetting
Value used to select this alternate setting.
uint8_t bNumEndpoints
Number of endpoints used by this interface.
uint8_t bInterfaceClass
Class code (assigned by the USB-IF). 0xff for vendor specific.
uint8_t bInterfaceSubClass
Subclass code (assigned by the USB-IF).
uint8_t bInterfaceProtocol
Protocol code (assigned by the USB-IF). 0xff for vendor specific.
uint8_t iInterface
Index of string descriptor describing this interface.

Detailed Description

Interface descriptor.

Interface descriptor, returned as a part of configuration descriptor.

  • components/libraries/usbd/app_usbd_descriptor.h