NetBurner 3.5.7
PDF Version
_usb_host_device_instance Struct Reference

Device instance. More...

#include <usb_host_devices.h>

Public Attributes

struct _usb_host_device_instancenext
 
usb_host_handle hostHandle
 
usb_host_configuration_t configuration
 
usb_descriptor_device_t * deviceDescriptor
 
usb_host_pipe_handle controlPipe
 
uint8_t * configurationDesc
 
uint8_t * enumBuffer
 
uint16_t configurationLen
 
uint8_t interfaceStatus [USB_HOST_CONFIG_CONFIGURATION_MAX_INTERFACE]
 
uint8_t configurationValue
 
uint8_t state
 
uint8_t enumRetries
 
uint8_t stallRetries
 
uint8_t speed
 
uint8_t allocatedAddress
 
uint8_t setAddress
 
uint8_t deviceAttachState
 

Detailed Description

Device instance.

Member Data Documentation

◆ allocatedAddress

uint8_t _usb_host_device_instance::allocatedAddress

Temporary address for the device. When set address request succeeds, setAddress is a value, 1 - 127

◆ configuration

usb_host_configuration_t _usb_host_device_instance::configuration

Parsed configuration information for the device

◆ configurationDesc

uint8_t* _usb_host_device_instance::configurationDesc

Configuration descriptor pointer

◆ configurationLen

uint16_t _usb_host_device_instance::configurationLen

Configuration descriptor length

◆ configurationValue

uint8_t _usb_host_device_instance::configurationValue

Configuration index

◆ controlPipe

usb_host_pipe_handle _usb_host_device_instance::controlPipe

Device's control pipe

◆ deviceAttachState

uint8_t _usb_host_device_instance::deviceAttachState

See the usb_host_device_state_t

◆ deviceDescriptor

usb_descriptor_device_t* _usb_host_device_instance::deviceDescriptor

Standard device descriptor

◆ enumBuffer

uint8_t* _usb_host_device_instance::enumBuffer

Buffer for enumeration

◆ enumRetries

uint8_t _usb_host_device_instance::enumRetries

Re-enumeration when error in control transfer

◆ hostHandle

usb_host_handle _usb_host_device_instance::hostHandle

Host handle

◆ interfaceStatus

uint8_t _usb_host_device_instance::interfaceStatus[USB_HOST_CONFIG_CONFIGURATION_MAX_INTERFACE]

Interfaces' status, please reference to usb_host_interface_state_t

◆ next

struct _usb_host_device_instance* _usb_host_device_instance::next

Next device, or NULL

◆ setAddress

uint8_t _usb_host_device_instance::setAddress

The address has been set to the device successfully, 1 - 127

◆ speed

uint8_t _usb_host_device_instance::speed

Device speed

◆ stallRetries

uint8_t _usb_host_device_instance::stallRetries

Re-transfer when stall

◆ state

uint8_t _usb_host_device_instance::state

Device state for enumeration


The documentation for this struct was generated from the following file: