Go to the source code of this file.
◆ PSP_USB_ACTIVATED
#define PSP_USB_ACTIVATED 0x200 |
◆ PSP_USB_CABLE_CONNECTED
#define PSP_USB_CABLE_CONNECTED 0x020 |
◆ PSP_USB_CONNECTION_ESTABLISHED
#define PSP_USB_CONNECTION_ESTABLISHED 0x002 |
◆ PSP_USBBUS_DRIVERNAME
#define PSP_USBBUS_DRIVERNAME "USBBusDriver" |
◆ sceUsbActivate()
Activate a USB driver.
- Parameters
-
pid | - Product ID for the default USB Driver |
- Returns
- 0 on success
◆ sceUsbDeactivate()
int sceUsbDeactivate |
( |
u32 |
pid | ) |
|
Deactivate USB driver.
- Parameters
-
pid | - Product ID for the default USB driver |
- Returns
- 0 on success
◆ sceUsbGetDrvState()
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
◆ sceUsbGetState()
Get USB state.
- Returns
- OR'd PSP_USB_* constants
◆ sceUsbStart()
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
◆ sceUsbStop()
Stop a USB driver.
- Parameters
-
driverName | - name of the USB driver to stop |
size | - Size of arguments to pass to USB driver stop |
args | - Arguments to pass to USB driver stop |
- Returns
- 0 on success