wut  v1.7.0
Wii U Toolchain
Data Structures | Macros | Typedefs
uhs_usbspec.h File Reference
#include <wut.h>
Include dependency graph for uhs_usbspec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  UhsDeviceDescriptor
 
struct  UhsConfigDescriptor
 
struct  UhsInterfaceDescriptor
 
struct  UhsSetupPacket
 

Macros

#define USBCLASS_DEVICE   0x00
 
#define USBCLASS_AUDIO   0x01
 
#define USBCLASS_HID   0x03
 
#define USBCLASS_STORAGE   0x08
 

Typedefs

typedef struct UhsDeviceDescriptor UhsDeviceDescriptor
 
typedef struct UhsConfigDescriptor UhsConfigDescriptor
 
typedef struct UhsInterfaceDescriptor UhsInterfaceDescriptor
 
typedef struct UhsSetupPacket UhsSetupPacket
 

Data Structure Documentation

◆ UhsDeviceDescriptor

struct UhsDeviceDescriptor

Definition at line 20 of file uhs_usbspec.h.

Data Fields
uint8_t bLength
uint8_t bDescriptorType
uint16_t bcdUsb
uint8_t bDeviceClass
uint8_t bDeviceSubclass
uint8_t bDeviceProtocol
uint8_t bMaxPacketSize
uint16_t idVendor
uint16_t idProduct
uint16_t bcdDevice
uint8_t iManufacturer
uint8_t iProduct
uint8_t iSerialNumber
uint8_t bNumConfigurations

◆ UhsConfigDescriptor

struct UhsConfigDescriptor

Definition at line 54 of file uhs_usbspec.h.

Data Fields
uint8_t bLength
uint8_t bDescriptorType
uint16_t wTotalLength
uint8_t bNumInterfaces
uint8_t bConfigurationValue
uint8_t iConfiguration
uint8_t bmAttributes
uint8_t bMaxPower

◆ UhsInterfaceDescriptor

struct UhsInterfaceDescriptor

Definition at line 76 of file uhs_usbspec.h.

Data Fields
uint8_t bLength
uint8_t bDescriptorType
uint8_t bInterfaceNumber
uint8_t bAlternateSetting
uint8_t bNumEndpoints
uint8_t bInterfaceClass
uint8_t bInterfaceSubClass
uint8_t bInterfaceProtocol
uint8_t iInterface

◆ UhsSetupPacket

struct UhsSetupPacket

Definition at line 100 of file uhs_usbspec.h.

Data Fields
uint8_t bmRequestType
uint8_t bRequest
uint16_t wValue
uint16_t wIndex
uint16_t wLength

Macro Definition Documentation

◆ USBCLASS_DEVICE

#define USBCLASS_DEVICE   0x00

Definition at line 9 of file uhs_usbspec.h.

◆ USBCLASS_AUDIO

#define USBCLASS_AUDIO   0x01

Definition at line 10 of file uhs_usbspec.h.

◆ USBCLASS_HID

#define USBCLASS_HID   0x03

Definition at line 11 of file uhs_usbspec.h.

◆ USBCLASS_STORAGE

#define USBCLASS_STORAGE   0x08

Definition at line 12 of file uhs_usbspec.h.

Typedef Documentation

◆ UhsDeviceDescriptor

Definition at line 1 of file uhs_usbspec.h.

◆ UhsConfigDescriptor

Definition at line 1 of file uhs_usbspec.h.

◆ UhsInterfaceDescriptor

Definition at line 1 of file uhs_usbspec.h.

◆ UhsSetupPacket

Definition at line 1 of file uhs_usbspec.h.