harmony 鸿蒙UsbEndpointDescriptor

  • 2023-10-30
  • 浏览 (363)

UsbEndpointDescriptor

Overview

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

Since

10

Related Modules

UsbDdk

Summary

Member Variables

Name Description
bLength Size of the descriptor, in bytes.
bDescriptorType Descriptor type.
bEndpointAddress Endpoint address, including the endpoint number and endpoint direction.
bmAttributes Endpoint attributes, including the transfer type, synchronization type, and usage type.
wMaxPacketSize Maximum packet size supported by an endpoint.
bInterval Interval for polling endpoints for data transfer.
bRefresh Refresh rate for audio devices.
bSynchAddress Endpoint 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

0  赞