USBH_Device_TypeDef Struct ReferencePlatform Middleware > USB > USB_HOST

USB HOST device definition.

A host application should not manipulate the contents of this struct.

Definition at line 867 of file em_usb.h .

#include < em_usb.h >

Data Fields

uint8_t addr
USB_ConfigurationDescriptor_TypeDef confDesc
USB_DeviceDescriptor_TypeDef devDesc
USBH_Ep_TypeDef * ep
USBH_Ep_TypeDef ep0
USB_InterfaceDescriptor_TypeDef itfDesc
int numEp
uint8_t speed

Field Documentation

uint8_t USBH_Device_TypeDef::addr

The device address.

Definition at line 874 of file em_usb.h .

Referenced by USBH_InitDeviceData() , and USBH_SetAddressB() .

USB_ConfigurationDescriptor_TypeDef USBH_Device_TypeDef::confDesc

The device configuration descriptor.

Definition at line 869 of file em_usb.h .

Referenced by USBH_InitDeviceData() , and USBH_QueryDeviceB() .

USB_DeviceDescriptor_TypeDef USBH_Device_TypeDef::devDesc

The device device descriptor.

Definition at line 868 of file em_usb.h .

Referenced by USBH_InitDeviceData() , USBH_QueryDeviceB() , and USBH_WaitForDeviceConnectionB() .

USBH_Ep_TypeDef * USBH_Device_TypeDef::ep

Array of endpoint status data.

Definition at line 872 of file em_usb.h .

Referenced by USBH_InitDeviceData() , USBH_QueryDeviceB() , USBH_SetAltInterfaceB() , and USBH_SetConfigurationB() .

USB_InterfaceDescriptor_TypeDef USBH_Device_TypeDef::itfDesc

The device interface descriptor.

Definition at line 870 of file em_usb.h .

Referenced by USBH_InitDeviceData() .

int USBH_Device_TypeDef::numEp

Number of endpoints.

Definition at line 873 of file em_usb.h .

Referenced by USBH_InitDeviceData() , USBH_SetAltInterfaceB() , and USBH_SetConfigurationB() .

uint8_t USBH_Device_TypeDef::speed

The device speed (low or full speed).

Definition at line 875 of file em_usb.h .

Referenced by MSDBOT_Init() , USBH_InitDeviceData() , and USBH_QueryDeviceB() .


The documentation for this struct was generated from the following file:
  • C:/cygwin/home/caamunds/work/super/platform/middleware/usb_gecko/inc/ em_usb.h