harmony 鸿蒙UsbEndpointDescriptor

2023-06-24 浏览 (954)

UsbEndpointDescriptor

概述

标准端点描述符,对应USB协议中Standard Endpoint Descriptor。

起始版本:

10

相关模块:

UsbDdk

汇总

成员变量

名称描述
bLength该描述符的大小,单位为字节。
bDescriptorType描述符类型。
bEndpointAddress端点地址,包含端点编号以及端点方向。
bmAttributes端点属性,包括传输类型、同步类型、使用类型。
wMaxPacketSize该端点所能承载的最大包的大小。
bInterval数据传输轮询端点的时间间隔。
bRefresh用于音频类设备,同步反馈的速率。
bSynchAddress用于音频类设备,同步端点的地址。

结构体成员变量说明

bDescriptorType

uint8_t UsbEndpointDescriptor::bDescriptorType

描述:

描述符类型。

bEndpointAddress

uint8_t UsbEndpointDescriptor::bEndpointAddress

描述:

端点地址,包含端点编号以及端点方向。

bInterval

uint8_t UsbEndpointDescriptor::bInterval

描述:

数据传输轮询端点的时间间隔。

bLength

uint8_t UsbEndpointDescriptor::bLength

描述:

该描述符的大小,单位为字节。

bmAttributes

uint8_t UsbEndpointDescriptor::bmAttributes

描述:

端点属性,包括传输类型、同步类型、使用类型。

bRefresh

uint8_t UsbEndpointDescriptor::bRefresh

描述:

用于音频类设备,同步反馈的速率。

bSynchAddress

uint8_t UsbEndpointDescriptor::bSynchAddress

描述:

用于音频类设备,同步端点的地址。

wMaxPacketSize

uint16_t UsbEndpointDescriptor::wMaxPacketSize

描述:

该端点所能承载的最大包的大小。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native API

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

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