EFM32 Giant Gecko Software Documentation  efm32gg-doc-4.2.1
USBH_Device_TypeDef Struct Reference

USB HOST device definition. More...

#include <em_usb.h>

Data Fields

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

Detailed Description

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

Definition at line 889 of file em_usb.h.

Field Documentation

USB_DeviceDescriptor_TypeDef USBH_Device_TypeDef::devDesc

The device device descriptor.

Definition at line 891 of file em_usb.h.

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

USB_ConfigurationDescriptor_TypeDef USBH_Device_TypeDef::confDesc

The device configuration descriptor.

Definition at line 892 of file em_usb.h.

Referenced by USBH_InitDeviceData(), and USBH_QueryDeviceB().

USB_InterfaceDescriptor_TypeDef USBH_Device_TypeDef::itfDesc

The device interface descriptor.

Definition at line 893 of file em_usb.h.

Referenced by USBH_InitDeviceData().

USBH_Ep_TypeDef* USBH_Device_TypeDef::ep

Array of endpoint status data.

Definition at line 895 of file em_usb.h.

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

int USBH_Device_TypeDef::numEp

Number of endpoints.

Definition at line 896 of file em_usb.h.

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

uint8_t USBH_Device_TypeDef::addr

The device address.

Definition at line 897 of file em_usb.h.

Referenced by USBH_InitDeviceData(), and USBH_SetAddressB().

uint8_t USBH_Device_TypeDef::speed

The device speed (low or full speed).

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