VSF Documented
Data Structures | Macros | Typedefs | Enumerations | Variables
vsf_usb_HUB.h File Reference
#include "utilities/vsf_utilities.h"

Go to the source code of this file.

Data Structures

struct  usb_hub_desc_t
 
struct  usb_port_status_t
 

Macros

#define USB_MAXCHILDREN   31
 

Typedefs

typedef struct usb_hub_desc_t usb_hub_desc_t
 
typedef struct usb_port_status_t usb_port_status_t
 

Enumerations

enum  usb_port_feature_t {
  USB_PORT_FEAT_CONNECTION = 0 ,
  USB_PORT_FEAT_ENABLE = 1 ,
  USB_PORT_FEAT_SUSPEND = 2 ,
  USB_PORT_FEAT_OVER_CURRENT = 3 ,
  USB_PORT_FEAT_RESET = 4 ,
  USB_PORT_FEAT_L1 = 5 ,
  USB_PORT_FEAT_POWER = 8 ,
  USB_PORT_FEAT_LOWSPEED = 9 ,
  USB_PORT_FEAT_C_CONNECTION = 16 ,
  USB_PORT_FEAT_C_ENABLE = 17 ,
  USB_PORT_FEAT_C_SUSPEND = 18 ,
  USB_PORT_FEAT_C_OVER_CURRENT = 19 ,
  USB_PORT_FEAT_C_RESET = 20 ,
  USB_PORT_FEAT_TEST = 21 ,
  USB_PORT_FEAT_INDICATOR = 22 ,
  USB_PORT_FEAT_C_PORT_L1 = 23
}
 
enum  usb_port_state_t {
  USB_PORT_STAT_CONNECTION = 0x0001 ,
  USB_PORT_STAT_ENABLE = 0x0002 ,
  USB_PORT_STAT_SUSPEND = 0x0004 ,
  USB_PORT_STAT_OVERCURRENT = 0x0008 ,
  USB_PORT_STAT_RESET = 0x0010 ,
  USB_PORT_STAT_L1 = 0x0020 ,
  USB_PORT_STAT_POWER = 0x0100 ,
  USB_PORT_STAT_LOW_SPEED = 0x0200 ,
  USB_PORT_STAT_HIGH_SPEED = 0x0400 ,
  USB_PORT_STAT_TEST = 0x0800 ,
  USB_PORT_STAT_INDICATOR = 0x1000
}
 
enum  usb_port_change_t {
  USB_PORT_STAT_C_CONNECTION = 0x0001 ,
  USB_PORT_STAT_C_ENABLE = 0x0002 ,
  USB_PORT_STAT_C_SUSPEND = 0x0004 ,
  USB_PORT_STAT_C_OVERCURRENT = 0x0008 ,
  USB_PORT_STAT_C_RESET = 0x0010 ,
  USB_PORT_STAT_C_L1 = 0x0020
}
 

Variables

struct usb_hub_desc_t VSF_CAL_PACKED
 

Macro Definition Documentation

◆ USB_MAXCHILDREN

#define USB_MAXCHILDREN   31

Typedef Documentation

◆ usb_hub_desc_t

◆ usb_port_status_t

Enumeration Type Documentation

◆ usb_port_feature_t

Enumerator
USB_PORT_FEAT_CONNECTION 
USB_PORT_FEAT_ENABLE 
USB_PORT_FEAT_SUSPEND 
USB_PORT_FEAT_OVER_CURRENT 
USB_PORT_FEAT_RESET 
USB_PORT_FEAT_L1 
USB_PORT_FEAT_POWER 
USB_PORT_FEAT_LOWSPEED 
USB_PORT_FEAT_C_CONNECTION 
USB_PORT_FEAT_C_ENABLE 
USB_PORT_FEAT_C_SUSPEND 
USB_PORT_FEAT_C_OVER_CURRENT 
USB_PORT_FEAT_C_RESET 
USB_PORT_FEAT_TEST 
USB_PORT_FEAT_INDICATOR 
USB_PORT_FEAT_C_PORT_L1 

◆ usb_port_state_t

Enumerator
USB_PORT_STAT_CONNECTION 
USB_PORT_STAT_ENABLE 
USB_PORT_STAT_SUSPEND 
USB_PORT_STAT_OVERCURRENT 
USB_PORT_STAT_RESET 
USB_PORT_STAT_L1 
USB_PORT_STAT_POWER 
USB_PORT_STAT_LOW_SPEED 
USB_PORT_STAT_HIGH_SPEED 
USB_PORT_STAT_TEST 
USB_PORT_STAT_INDICATOR 

◆ usb_port_change_t

Enumerator
USB_PORT_STAT_C_CONNECTION 
USB_PORT_STAT_C_ENABLE 
USB_PORT_STAT_C_SUSPEND 
USB_PORT_STAT_C_OVERCURRENT 
USB_PORT_STAT_C_RESET 
USB_PORT_STAT_C_L1 

Variable Documentation

◆ VSF_CAL_PACKED

struct usb_port_status_t VSF_CAL_PACKED