openharmony 鸿蒙 capi-usbddk-usb-nonroothubarray

2026-08-25 浏览 (1)

Usb_NonRootHubArray

typedef struct Usb_NonRootHubArray {...} Usb_NonRootHubArray

Overview

Non-root hub list, which is used to store the non-root hub IDs and quantity obtained using OH_Usb_GetNonRootHubs.

Since: 26.0.0

Related module: UsbDdk

Header file: usb_ddk_types.h

Summary

Member Variables

NameDescription
uint64_t* nonRootHubIdsStart address of the non-root hub ID array. It is recommended that the number of non-root hub IDs do not exceed 128 to prevent excessive memory usage. The device ID of a non-root USB hub is contructed by left-shifting its bus number by 32 bits and adding it to its device address.
uint32_t numNumber of returned non-root hubs. The system traverses nonRootHubIds to obtain the non-root hub ID based on the number. If the value is 0, no non-root hub exists.

你可能感兴趣的鸿蒙文章

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