vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:




Using this library in your project

Include the header file in your project:

#include <psp2kernel/usbserv.h>


Link the library to the executable:

SceUsbServForDriver_stub



Functions

int ksceUsbServEtherEnable (void)
 Enable PSTV ethernet. More...
 
int ksceUsbServEtherDisable (void)
 Disable PSTV ethernet. More...
 
int ksceUsbServAccessoryActivate (void)
 Enable accessory port. More...
 
int ksceUsbServAccessoryDeactivate (void)
 Disable accessory port. More...
 
int ksceUsbServMacSelect (SceUInt usbPort, SceBool clientMode)
 Set USB port mode. More...
 
SceBool ksceUsbServMacGet (SceUInt usbPort)
 Get USB port mode. More...
 
int ksceUsbServDisableEtherSuspend (void)
 Prevent PSTV ethernet hibernation. More...
 

Enumeration Type Documentation

◆ SceUsbservErrorCode

Enumerator
SCE_USBSERV_ERROR_UNAVAILABLE 
SCE_USBSERV_ERROR_INVALID_PARAM 
SCE_USBSERV_ERROR_NOT_SUPPORTED 
SCE_USBSERV_ERROR_FATAL 

Function Documentation

◆ ksceUsbServEtherEnable()

int ksceUsbServEtherEnable ( void  )

Enable PSTV ethernet.

Returns
0 on success, < 0 on error
Note
NID 0x30AE5F66

◆ ksceUsbServEtherDisable()

int ksceUsbServEtherDisable ( void  )

Disable PSTV ethernet.

Returns
0 on success, < 0 on error
Note
NID 0xD787B191

◆ ksceUsbServAccessoryActivate()

int ksceUsbServAccessoryActivate ( void  )

Enable accessory port.

Returns
0 on success, < 0 on error
Note
NID 0xAA6D4409

◆ ksceUsbServAccessoryDeactivate()

int ksceUsbServAccessoryDeactivate ( void  )

Disable accessory port.

Returns
0 on success, < 0 on error
Note
NID 0x853CB8E4

◆ ksceUsbServMacSelect()

int ksceUsbServMacSelect ( SceUInt  usbPort,
SceBool  clientMode 
)

Set USB port mode.

Returns
0 on success, < 0 on error
Parameters
usbPortusb port number (0,1,2)
clientMode0 = host mode, 1 = client mode
Note
NID 0x7AD36284

◆ ksceUsbServMacGet()

SceBool ksceUsbServMacGet ( SceUInt  usbPort)

Get USB port mode.

Returns
usb port mode (1 = client, 0 = host)
Parameters
usbPortusb port number (0,1,2)
Note
NID 0xF0553A69

◆ ksceUsbServDisableEtherSuspend()

int ksceUsbServDisableEtherSuspend ( void  )

Prevent PSTV ethernet hibernation.

Returns
0 on success, < 0 on error
Note
NID 0x6D738018, guessed name