harmony 鸿蒙UsbEndpointDescriptor

2023-10-30 浏览 (521)

UsbEndpointDescriptor

Overview

Defines standard endpoint descriptors, which correspond to Standard Endpoint Descriptor in the USB protocol.

Since

10

Related Modules

UsbDdk

Summary

Member Variables

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

Member Variable Description

bDescriptorType

uint8_t UsbEndpointDescriptor::bDescriptorType

Description

Descriptor type.

bEndpointAddress

uint8_t UsbEndpointDescriptor::bEndpointAddress

Description

Endpoint address, including the endpoint number and endpoint direction.

bInterval

uint8_t UsbEndpointDescriptor::bInterval

Description

Interval for polling endpoints for data transfer.

bLength

uint8_t UsbEndpointDescriptor::bLength

Description

Size of the descriptor, in bytes.

bmAttributes

uint8_t UsbEndpointDescriptor::bmAttributes

Description

Endpoint attributes, including the transfer type, synchronization type, and usage type.

bRefresh

uint8_t UsbEndpointDescriptor::bRefresh

Description

Refresh rate for audio devices.

bSynchAddress

uint8_t UsbEndpointDescriptor::bSynchAddress

Description

Endpoint synchronization address for audio devices.

wMaxPacketSize

uint16_t UsbEndpointDescriptor::wMaxPacketSize

Description

Maximum packet size supported by an endpoint.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

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