Go to the source code of this file.
Macro Definition Documentation
#define PSP_USB_ACTIVATED 0x200 |
#define PSP_USB_CABLE_CONNECTED 0x020 |
#define PSP_USB_CONNECTION_ESTABLISHED 0x002 |
#define PSP_USBBUS_DRIVERNAME "USBBusDriver" |
Function Documentation
int sceUsbActivate |
( |
u32 |
pid | ) |
|
Activate a USB driver.
- Parameters
-
pid | - Product ID for the default USB Driver |
- Returns
- 0 on success
int sceUsbDeactivate |
( |
u32 |
pid | ) |
|
Deactivate USB driver.
- Parameters
-
pid | - Product ID for the default USB driver |
- Returns
- 0 on success
int sceUsbGetDrvState |
( |
const char * |
driverName | ) |
|
Get state of a specific USB driver.
- Parameters
-
driverName | - name of USB driver to get status from |
- Returns
- 1 if the driver has been started, 2 if it is stopped
int sceUsbGetState |
( |
void |
| ) |
|
Get USB state.
- Returns
- OR'd PSP_USB_* constants
int sceUsbStart |
( |
const char * |
driverName, |
|
|
int |
size, |
|
|
void * |
args |
|
) |
| |
Start a USB driver.
- Parameters
-
driverName | - name of the USB driver to start |
size | - Size of arguments to pass to USB driver start |
args | - Arguments to pass to USB driver start |
- Returns
- 0 on success
int sceUsbStop |
( |
const char * |
driverName, |
|
|
int |
size, |
|
|
void * |
args |
|
) |
| |
Stop a USB driver.
- Parameters
-
driverName | - name of the USB driver to stop |
size | - Size of arguments to pass to USB driver start |
args | - Arguments to pass to USB driver start |
- Returns
- 0 on success