USBH_Device_TypeDef Struct Reference
USB HOST device definition.
#include <em_usb.h>
Data Fields | |
USB_DeviceDescriptor_TypeDef | devDesc |
The device device descriptor. | |
USB_ConfigurationDescriptor_TypeDef | confDesc |
The device configuration descriptor. | |
USB_InterfaceDescriptor_TypeDef | itfDesc |
The device interface descriptor. | |
USBH_Ep_TypeDef | ep0 |
Endpoint 0 status data. | |
USBH_Ep_TypeDef * | ep |
Array of endpoint status data. | |
int | numEp |
Number of endpoints. | |
uint8_t | addr |
The device address. | |
uint8_t | speed |
The device speed (low or full speed). | |
USB HOST device definition.
A host application should not manipulate the contents of this struct.
Field Documentation
◆ devDesc
USB_DeviceDescriptor_TypeDef USBH_Device_TypeDef::devDesc |
The device device descriptor.
◆ confDesc
USB_ConfigurationDescriptor_TypeDef USBH_Device_TypeDef::confDesc |
The device configuration descriptor.
◆ itfDesc
USB_InterfaceDescriptor_TypeDef USBH_Device_TypeDef::itfDesc |
The device interface descriptor.
◆ ep0
USBH_Ep_TypeDef USBH_Device_TypeDef::ep0 |
Endpoint 0 status data.
◆ ep
USBH_Ep_TypeDef* USBH_Device_TypeDef::ep |
Array of endpoint status data.
◆ numEp
int USBH_Device_TypeDef::numEp |
Number of endpoints.
◆ addr
uint8_t USBH_Device_TypeDef::addr |
The device address.
◆ speed
uint8_t USBH_Device_TypeDef::speed |
The device speed (low or full speed).