hub.h File Reference

USB hub related structures. More...

#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  usb_hub_descriptor_header_t
 Header of standard hub descriptor without the "variadic" part. More...
struct  usb_hub_descriptor_type
 usb hub descriptor More...

Typedefs

typedef usb_hub_descriptor_type usb_hub_descriptor_t
 usb hub descriptor

Enumerations

enum  usb_hub_bm_request_type_t {
  USB_HUB_REQ_TYPE_CLEAR_HUB_FEATURE = 0x20, USB_HUB_REQ_TYPE_CLEAR_PORT_FEATURE = 0x23, USB_HUB_REQ_TYPE_GET_STATE = 0xA3, USB_HUB_REQ_TYPE_GET_DESCRIPTOR = 0xA0,
  USB_HUB_REQ_TYPE_GET_HUB_STATUS = 0xA0, USB_HUB_REQ_TYPE_GET_PORT_STATUS = 0xA3, USB_HUB_REQ_TYPE_SET_DESCRIPTOR = 0x20, USB_HUB_REQ_TYPE_SET_HUB_FEATURE = 0x20,
  USB_HUB_REQ_TYPE_SET_PORT_FEATURE = 0x23
}
 usb hub specific request types. More...
enum  usb_hub_class_feature_t
 Hub class feature selector. More...
enum  usb_hub_request_t
 these are duplicit to standart descriptors

Variables

size_t USB_HUB_MAX_DESCRIPTOR_SIZE
 Maximum size of usb hub descriptor in bytes.


Detailed Description

USB hub related structures.

Definition in file hub.h.


Generated on Thu Jun 2 07:45:52 2011 for HelenOS/USB by  doxygen 1.4.7