EZR32 Wonder Gecko Software Documentation
ezr32wg-doc-5.1.2
|
USB HOST device definition.
A host application should not manipulate the contents of this struct.
#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 |
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().
USBH_Ep_TypeDef USBH_Device_TypeDef::ep0 |
Endpoint 0 status data.
Definition at line 893 of file em_usb.h.
Referenced by USBH_GetConfigurationDescriptorB(), USBH_GetDeviceDescriptorB(), USBH_GetStringB(), USBH_InitDeviceData(), USBH_QueryDeviceB(), USBH_SetAddressB(), USBH_SetAltInterfaceB(), USBH_SetConfigurationB(), USBH_StallEpB(), and USBH_UnStallEpB().
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().