6#ifndef _PSP2KERN_LOWIO_GPIO_H_
7#define _PSP2KERN_LOWIO_GPIO_H_
int ksceGpioPortSet(int bus, int port)
SceGpioPortMasks
Definition gpio.h:21
int ksceGpioSetPortMode(int bus, int port, int mode)
int ksceGpioPortReset(int bus, int port)
int ksceGpioGetPortMode(int bus, int port)
int ksceGpioPortClear(int bus, int port)
int ksceGpioPortRead(int bus, int port)
int ksceGpioAcquireIntr(int bus, int port)
SceGpioPortMode
Definition gpio.h:26
int ksceGpioGetIntrMode(int bus, int port)
int ksceGpioQueryIntr(int bus, int port)
SceGpioErrorCode
Definition gpio.h:15
int ksceGpioSetIntrMode(int bus, int port, int intr_mode)
@ SCE_GPIO_PORT_MASK_LED_GAMECARD
Definition gpio.h:22
@ SCE_GPIO_PORT_MASK_LED_PS_BUTTON
Definition gpio.h:23
@ SCE_GPIO_PORT_MODE_OUTPUT
Definition gpio.h:27
@ SCE_GPIO_PORT_MODE_INPUT
Definition gpio.h:28
@ SCE_GPIO_ERROR_INVALID_PORT
Definition gpio.h:17
@ SCE_GPIO_ERROR_INVALID_MODE
Definition gpio.h:18
@ SCE_GPIO_ERROR_INVALID_BUS
Definition gpio.h:16