pspsdk-1.0+beta2
psputility_usbmodules.h File Reference
#include <psptypes.h>
Include dependency graph for psputility_usbmodules.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PSP_USB_MODULE_PSPCM   1
#define PSP_USB_MODULE_ACC   2
#define PSP_USB_MODULE_MIC   3
#define PSP_USB_MODULE_CAM   4
#define PSP_USB_MODULE_GPS   5

Functions

int sceUtilityLoadUsbModule (int module)
 Load a usb module (PRX) from user mode.
int sceUtilityUnloadUsbModule (int module)
 Unload a usb module (PRX) from user mode.

Macro Definition Documentation

#define PSP_USB_MODULE_ACC   2
#define PSP_USB_MODULE_CAM   4
#define PSP_USB_MODULE_GPS   5
#define PSP_USB_MODULE_MIC   3
#define PSP_USB_MODULE_PSPCM   1

Function Documentation

int sceUtilityLoadUsbModule ( int  module)

Load a usb module (PRX) from user mode.

Available on firmware 2.70 and higher only.

Parameters
module- module number to load (PSP_USB_MODULE_xxx)
Returns
0 on success, < 0 on error
int sceUtilityUnloadUsbModule ( int  module)

Unload a usb module (PRX) from user mode.

Available on firmware 2.70 and higher only.

Parameters
module- module number to be unloaded
Returns
0 on success, < 0 on error