openharmony 鸿蒙 capi-usbddk-usbcontrolrequestsetup

2026-08-25 浏览 (1)

UsbControlRequestSetup

typedef struct UsbControlRequestSetup {...} __attribute__((aligned(8))) UsbControlRequestSetup

Overview

Setup data for control transfer. It corresponds to Setup Data in the USB protocol.

Since: 10

Related module: UsbDdk

Header file: usb_ddk_types.h

Summary

Member Variables

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

你可能感兴趣的鸿蒙文章

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