uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
lowio_gpio.h
1/* Copyright (C) 2011, 2012, 2013 The uOFW team
2 See the file COPYING for copying permission.
3*/
4
8enum SceGpioPortMasks {
9 SCE_GPIO_MASK_LED_MS = 0x40,
10 SCE_GPIO_MASK_LED_WLAN = 0x80,
11 SCE_GPIO_MASK_LED_BT = 0x1000000
12};
13
14enum SceGpioPortModes {
16 SCE_GPIO_PORT_MODE_MS = 6,
18 SCE_GPIO_PORT_MODE_WLAN = 7,
20 SCE_GPIO_PORT_MODE_BT = 24,
21};
22
23s32 sceGpioPortSet(s32);
24s32 sceGpioPortClear(s32);
25s32 sceGpioGetPortMode(s32);
26s32 sceGpioSetPortMode(s32, s32);
27s32 sceGpioDisableTimerCapture(s32, s32);
28s32 sceGpioSetIntrMode(s32, s32);
29s32 sceGpioAcquireIntr(s32);
30s32 sceGpioQueryIntr(s32);
31s32 sceGpioPortRead(void);
32