3.2.4.29 USB_HOST_DEVICE_INFO Structure

C

typedef struct {
  USB_HOST_DEVICE_OBJ_HANDLE deviceObjHandle;
  uint8_t deviceAddress;
  USB_HOST_BUS bus;
} USB_HOST_DEVICE_INFO;

Summary

USB Host Device Info Type

This data type defines the type of data that is used by the USB_HOST_DeviceGetFirst() and USB_HOST_DeviceGetNext() functions. The application must provide an object of this type to these functions to obtain information about the devices attached on the USB.

Members

Members Description
USB_HOST_DEVICE_OBJ_HANDLE deviceObjHandle; USB Host Device Object Handle
uint8_t deviceAddress; Address of the device on the USB
USB_HOST_BUS bus; The bus to which this device is connected

Remarks

The application must only instantiate this data structure and should not modify it's contents. Multiple objects can be instantiated and used.