vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceGpioForDriver_stub



Functions

int ksceGpioPortRead (int bus, int port)
 
int ksceGpioPortSet (int bus, int port)
 
int ksceGpioPortClear (int bus, int port)
 
int ksceGpioPortReset (int bus, int port)
 
int ksceGpioSetPortMode (int bus, int port, int mode)
 
int ksceGpioGetPortMode (int bus, int port)
 
int ksceGpioSetIntrMode (int bus, int port, int intr_mode)
 
int ksceGpioGetIntrMode (int bus, int port)
 
int ksceGpioAcquireIntr (int bus, int port)
 
int ksceGpioQueryIntr (int bus, int port)
 

Enumeration Type Documentation

◆ SceGpioErrorCode

Enumerator
SCE_GPIO_ERROR_INVALID_BUS 
SCE_GPIO_ERROR_INVALID_PORT 
SCE_GPIO_ERROR_INVALID_MODE 

◆ SceGpioPortMasks

Enumerator
SCE_GPIO_PORT_MASK_LED_GAMECARD 
SCE_GPIO_PORT_MASK_LED_PS_BUTTON 

◆ SceGpioPortMode

Enumerator
SCE_GPIO_PORT_MODE_OUTPUT 
SCE_GPIO_PORT_MODE_INPUT 

Function Documentation

◆ ksceGpioPortRead()

int ksceGpioPortRead ( int  bus,
int  port 
)

◆ ksceGpioPortSet()

int ksceGpioPortSet ( int  bus,
int  port 
)

◆ ksceGpioPortClear()

int ksceGpioPortClear ( int  bus,
int  port 
)

◆ ksceGpioPortReset()

int ksceGpioPortReset ( int  bus,
int  port 
)

◆ ksceGpioSetPortMode()

int ksceGpioSetPortMode ( int  bus,
int  port,
int  mode 
)

◆ ksceGpioGetPortMode()

int ksceGpioGetPortMode ( int  bus,
int  port 
)

◆ ksceGpioSetIntrMode()

int ksceGpioSetIntrMode ( int  bus,
int  port,
int  intr_mode 
)

◆ ksceGpioGetIntrMode()

int ksceGpioGetIntrMode ( int  bus,
int  port 
)

◆ ksceGpioAcquireIntr()

int ksceGpioAcquireIntr ( int  bus,
int  port 
)

◆ ksceGpioQueryIntr()

int ksceGpioQueryIntr ( int  bus,
int  port 
)