SceLowio: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 39: Line 39:


== SceGpioForDriver ==
== SceGpioForDriver ==
If <code>bus</code> is <code>0</code>, the <code>SceGpio0Reg</code> registers are used, and if <code>bus</code> is <code>1</code>, the <code>SceGpio1Reg</code> registers are used.


=== ksceGpioQueryIntr ===
=== ksceGpioQueryIntr ===
Line 48: Line 50:
|}
|}


<source lang="c">int ksceGpioQueryIntr(int bus, int num);</source>
<source lang="c">int ksceGpioQueryIntr(int bus, int port);</source>
 
=== ksceGpioSetPortMode ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.60 || 0x372022A4
|}
 
<source lang="c">int ksceGpioSetPortMode(int bus, int port, int mode);</source>
 
=== ksceGpioSetIntrMode ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.60 || 0xBBEA1DDC
|}


If <code>bus</code> is <code>0</code>, the <code>SceGpio0Reg</code> registers are used, and if <code>bus</code> is <code>1</code>, the <code>SceGpio1Reg</code> registers are used.
<source lang="c">int ksceGpioSetIntrMode(int bus, int intr, int mode);</source>


== ScePwmForDriver ==
== ScePwmForDriver ==

Revision as of 22:58, 13 February 2017

Module

Known NIDs

Version Name World Privilege NID
1.69 SceLowio Non-secure Kernel 0x19E0E42F

Libraries

Known NIDs

Version Name World Visibility NID
1.69 ScePervasiveForDriver Non-secure Kernel 0xE692C727
1.69 SceGpioForDriver Non-secure Kernel 0xF0EF5743
1.69 ScePwmForDriver Non-secure Kernel 0xECEAE2D0
1.69 SceI2cForDriver Non-secure Kernel 0xE14BEF6E
1.69 SceGrabForDriver Non-secure Kernel 0x81C54BED
1.69 SceCdramForDriver Non-secure Kernel 0xC8CD941E
1.69 SceDsiForDriver Non-secure Kernel 0xEC897883
1.69 SceIftuForDriver Non-secure Kernel 0xCAFCFE50
1.69 SceCsiForDriver Non-secure Kernel 0xD85C8E44

ScePervasiveForDriver

SceGpioForDriver

If bus is 0, the SceGpio0Reg registers are used, and if bus is 1, the SceGpio1Reg registers are used.

ksceGpioQueryIntr

Version NID
3.60 0x010DC295
int ksceGpioQueryIntr(int bus, int port);

ksceGpioSetPortMode

Version NID
3.60 0x372022A4
int ksceGpioSetPortMode(int bus, int port, int mode);

ksceGpioSetIntrMode

Version NID
3.60 0xBBEA1DDC
int ksceGpioSetIntrMode(int bus, int intr, int mode);

ScePwmForDriver

SceI2cForDriver

Version NID Name
3.60 0x0A40B7BF
3.60 0x30CF9469
3.60 0x76D277AB
3.60 0x9CF8F3D6
3.60 0xA2C7CE62
3.60 0xCA94A759 sceI2cTransferWrite(unsigned int unk, unsigned int device_address, const void *buffer, unsigned int size)
3.60 0xD1D0A9A4 sceI2cTransferRead(unsigned int unk, unsigned int device_address, void *buffer, unsigned int size)
3.60 0xE449AC6E

SceGrabForDriver

SceCdramForDriver

SceDsiForDriver

SceIftuForDriver

SceCsiForDriver