harmony 鸿蒙UsbControlRequestSetup

2023-10-30 浏览 (511)

UsbControlRequestSetup

Overview

Defines the setup data for control transfer, which corresponds to Setup Data in the USB protocol.

Since

10

Related Modules

UsbDdk

Summary

Member Variables

NameDescription
bmRequestTypeRequest type.
bRequestSpecific request.
wValueValue corresponding to wValue in the USB protocol. Its meaning varies according to the request.
wIndexIndex corresponding to wIndex in the USB protocol. It is usually used to transfer the index or offset. Its meaning varies according to the request.
wLengthData length corresponding to wLength in the USB protocol. If data is transferred, this field indicates the number of transferred bytes.

Member Variable Description

wIndex

uint16_t UsbControlRequestSetup::wIndex

Description

Index corresponding to wIndex in the USB protocol. It is usually used to transfer the index or offset. Its meaning varies according to the request.

wLength

uint16_t UsbControlRequestSetup::wLength

Description

Data length corresponding to wLength in the USB protocol. If data is transferred, this field indicates the number of transferred bytes.

bRequest

uint8_t UsbControlRequestSetup::bRequest

Description

Specific request.

bmRequestType

uint8_t UsbControlRequestSetup::bmRequestType

Description

Request type.

wValue

uint16_t UsbControlRequestSetup::wValue

Description

Value corresponding to wValue in the USB protocol. Its meaning varies according to the request.

你可能感兴趣的鸿蒙文章

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/7a6e544fecae4f9c82570a6371c35e85