harmony 鸿蒙UsbInterfaceDescriptor
UsbInterfaceDescriptor
Overview
Defines standard interface descriptors, which correspond to Standard Interface Descriptor in the USB protocol.
Since
10
Related Modules
Summary
Member Variables
Name | Description |
---|---|
bLength | Size of the descriptor, in bytes. |
bDescriptorType | Descriptor type. |
bInterfaceNumber | Interface ID. |
bAlternateSetting | Value used to select the alternate setting of the interface. |
bNumEndpoints | Number of endpoints (excluding endpoint 0) used by the interface. |
bInterfaceClass | Interface class code allocated by the USB-IF. |
bInterfaceSubClass | Device subclass code allocated by USB-IF. The value is limited by that of bInterfaceClass. |
bInterfaceProtocol | Protocol code allocated by USB-IF. The value is limited by that of bInterfaceClass and bInterfaceSubClass. |
iInterface | Index of the string descriptor that describes the interface. |
Member Variable Description
bAlternateSetting
uint8_t UsbInterfaceDescriptor::bAlternateSetting
Description
Value used to select the alternate setting of the interface.
bDescriptorType
uint8_t UsbInterfaceDescriptor::bDescriptorType
Description
Descriptor type.
bInterfaceClass
uint8_t UsbInterfaceDescriptor::bInterfaceClass
Description
Interface class code allocated by the USB-IF.
bInterfaceNumber
uint8_t UsbInterfaceDescriptor::bInterfaceNumber
Description
Interface ID.
bInterfaceProtocol
uint8_t UsbInterfaceDescriptor::bInterfaceProtocol
Description
Protocol code allocated by USB-IF. The value is limited by that of bInterfaceClass and bInterfaceSubClass.
bInterfaceSubClass
uint8_t UsbInterfaceDescriptor::bInterfaceSubClass
Description
Device subclass code allocated by USB-IF. The value is limited by that of bInterfaceClass.
bLength
uint8_t UsbInterfaceDescriptor::bLength
Description
Size of the descriptor, in bytes.
bNumEndpoints
uint8_t UsbInterfaceDescriptor::bNumEndpoints
Description
Number of endpoints (excluding endpoint 0) used by the interface.
iInterface
uint8_t UsbInterfaceDescriptor::iInterface
Description
Index of the string descriptor that describes the interface.
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦