openharmony 鸿蒙 capi-usbddk-usbendpointdescriptor

2026-08-25 浏览 (1)

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

NameDescription
uint8_t bLengthSize of the descriptor, in bytes.
uint8_t bDescriptorTypeDescriptor type.
uint8_t bEndpointAddressEndpoint address, including the endpoint number and endpoint direction.
uint8_t bmAttributesEndpoint attributes, including the transfer type, synchronization type, and usage type.
uint16_t wMaxPacketSizeMaximum packet size supported by an endpoint.
uint8_t bIntervalInterval for polling endpoints for data transfer.
uint8_t bRefreshRefresh rate for audio devices.
uint8_t bSynchAddressEndpoint synchronization address for audio devices.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request

openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor

openharmony 鸿蒙 capi-hidddk

openharmony 鸿蒙 capi-usbddk

openharmony 鸿蒙 capi-hidddk-hid-absaxesarray

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response

openharmony 鸿蒙 capi-scsi-peripheral-api-h

openharmony 鸿蒙 capi-hidddk-hid-relaxesarray

openharmony 鸿蒙 js-apis-driver-deviceManager

openharmony 鸿蒙 capi-hidddk-hid-eventtypearray

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/h8opWawL