PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
_UsbDriver Struct Reference

#include <usbd.h>

+ Collaboration diagram for _UsbDriver:

Data Fields

struct _UsbDrivernext
 
struct _UsbDriverprev
 
char * name
 
int(* probe )(int devID)
 
int(* connect )(int devID)
 
int(* disconnect )(int devID)
 
u32 reserved1
 
u32 reserved2
 
u32 reserved3
 
u32 reserved4
 
u32 reserved5
 
void * gp
 

Detailed Description

USB driver bus event listener structure

Definition at line 47 of file usbd.h.

Field Documentation

◆ next

struct _UsbDriver* _UsbDriver::next

Definition at line 49 of file usbd.h.

◆ prev

struct _UsbDriver * _UsbDriver::prev

Definition at line 49 of file usbd.h.

◆ name

char* _UsbDriver::name

short sweet name for your driver, like "usbmouse" or "pl2301"

Definition at line 51 of file usbd.h.

◆ probe

int(* _UsbDriver::probe) (int devID)

Definition at line 52 of file usbd.h.

◆ connect

int(* _UsbDriver::connect) (int devID)

Definition at line 53 of file usbd.h.

◆ disconnect

int(* _UsbDriver::disconnect) (int devID)

Definition at line 54 of file usbd.h.

◆ reserved1

u32 _UsbDriver::reserved1

Definition at line 55 of file usbd.h.

◆ reserved2

u32 _UsbDriver::reserved2

Definition at line 56 of file usbd.h.

◆ reserved3

u32 _UsbDriver::reserved3

Definition at line 57 of file usbd.h.

◆ reserved4

u32 _UsbDriver::reserved4

Definition at line 58 of file usbd.h.

◆ reserved5

u32 _UsbDriver::reserved5

Definition at line 59 of file usbd.h.

◆ gp

void* _UsbDriver::gp

Definition at line 60 of file usbd.h.


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