Usb_DeviceArray
Overview
Defines the device ID list, which is used to store the device IDs and device quantity obtained using OH_Usb_GetDevices().
Since
18
Related Modules
Header file: usb_ddk_types.h
Summary
Member Variables
| Name | Description |
|---|---|
| deviceIds | Start address of the device ID array. |
| num | Device quantity. |
Member Variable Description
deviceIds
uint64_t* Usb_DeviceArray::deviceIds
Description
Defines the start address of the device ID array. The number of device IDs cannot exceed 128.
num
uint32_t Usb_DeviceArray::num
Description
Defines the device quantity. Device IDs are obtained by traversing deviceIds based on the value of this parameter. If the value is 0, there is no USB device.