UsbEndpointDescriptor
typedef struct UsbEndpointDescriptor {...} __attribute__((packed)) UsbEndpointDescriptor
Overview
Defines standard endpoint descriptors, which correspond to Standard Endpoint Descriptor in the USB protocol.
Since: 10
Related module: UsbDdk
Header file: usb_ddk_types.h
Summary
Member Variables
| Name | Description |
|---|---|
| uint8_t bLength | Size of the descriptor, in bytes. |
| uint8_t bDescriptorType | Descriptor type. |
| uint8_t bEndpointAddress | Endpoint address, including the endpoint number and endpoint direction. |
| uint8_t bmAttributes | Endpoint attributes, including the transfer type, synchronization type, and usage type. |
| uint16_t wMaxPacketSize | Maximum packet size supported by an endpoint. |
| uint8_t bInterval | Interval for polling endpoints for data transfer. |
| uint8_t bRefresh | Refresh rate for audio devices. |
| uint8_t bSynchAddress | Endpoint synchronization address for audio devices. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request
openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor
openharmony 鸿蒙 capi-hidddk-hid-absaxesarray
openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response
openharmony 鸿蒙 capi-scsi-peripheral-api-h
openharmony 鸿蒙 capi-hidddk-hid-relaxesarray