The USB bus driver manages the different USB protocol drivers currently registered with it and communicates with the USB host as a single USB device.
Supported USB protocol drivers are as follows:
• Camera USB
Capture image date from the PSP camera accessory via the USB port
• GPS USB
Capture position information from the PSP GPS accessory via the USB port
• Microphone (PCM) USB
Capture PCM data from the PSP microphone accessory via the USB port
• PS2/PS3 USB
Allows PSP <-> PS2/PS3 data communication via the USB port
◆ sceUsbbdRegister()
int sceUsbbdRegister |
( |
struct UsbDriver * |
drv | ) |
|
Register a USB driver.
- Parameters
-
drv | - Pointer to a filled out USB driver |
- Returns
- 0 on success, < 0 on error.
◆ sceUsbbdUnregister()
int sceUsbbdUnregister |
( |
struct UsbDriver * |
drv | ) |
|
Unregister a USB driver
- Parameters
-
drv | - Pointer to a filled out USB driver |
- Returns
- 0 on success, < 0 on error
◆ sceUsbbdReqSend()
Queue a send request (IN from host pov)
- Parameters
-
- Returns
- 0 on success, < 0 on error