EFM32 Wonder Gecko Software Documentation  efm32wg-doc-5.1.2
USBH_Device_TypeDef Struct Reference

Detailed Description

USB HOST device definition.

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

Definition at line 888 of file em_usb.h.

#include <em_usb.h>

Data Fields

uint8_t addr
 
USB_ConfigurationDescriptor_TypeDef confDesc
 
USB_DeviceDescriptor_TypeDef devDesc
 
USBH_Ep_TypeDefep
 
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 896 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 891 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 890 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 894 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 892 of file em_usb.h.

Referenced by USBH_InitDeviceData().

int USBH_Device_TypeDef::numEp

Number of endpoints.

Definition at line 895 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 897 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: