![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
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. | |
Interface descriptor.
Interface descriptor, returned as a part of configuration descriptor.