Difference between revisions of "SPI Services"

From 3dbrew
Jump to navigation Jump to search
(Created page with "Category:Services = SPI Service Names = * "SPI::NOR" * "SPI::CD2" * "SPI::CS2" * "SPI::CS3" * "SPI::DEF" = SPI Service Commands = {| class="wikitable" border="1" |- ! Comma...")
 
Line 13: Line 13:
 
!  Description
 
!  Description
 
|-
 
|-
| 0x00010080
+
| 0x0001....
| ?
+
| SetDeviceState(u8 deviceid, u8 state)
 
|-
 
|-
| 0x00020040
+
| 0x0002....
 
| Stubbed, only returns zero.
 
| Stubbed, only returns zero.
 
|-
 
|-
 
| 0x0003....
 
| 0x0003....
| ?
+
| ReadWriteDevice(u8 deviceid, ...)
 
|-
 
|-
 
| 0x0004....
 
| 0x0004....
| ?
+
| ReadWriteDevice2(u8 deviceid, ...)
 
|-
 
|-
 
| 0x0005....
 
| 0x0005....
| ?
+
| WriteDevice(u8 deviceid, ...)
 
|-
 
|-
 
| 0x00060102
 
| 0x00060102
| ?
+
| ReadWriteDeviceArray(u8 deviceid, ...)
 
|-
 
|-
 
| 0x00070102
 
| 0x00070102
| ?
+
| ReadWriteDevice2Array(u8 deviceid, ...)
 
|-
 
|-
 
| 0x000800C0
 
| 0x000800C0
| ?
+
| EnableDevice(u8 deviceid, bool onoff, u8 state)
 
|-
 
|-
 
| 0x00090040
 
| 0x00090040
| ?
+
| PokeSomePdnReg(bool onoff)
 
|}
 
|}

Revision as of 14:47, 6 March 2015

SPI Service Names

  • "SPI::NOR"
  • "SPI::CD2"
  • "SPI::CS2"
  • "SPI::CS3"
  • "SPI::DEF"

SPI Service Commands

Command Header Description
0x0001.... SetDeviceState(u8 deviceid, u8 state)
0x0002.... Stubbed, only returns zero.
0x0003.... ReadWriteDevice(u8 deviceid, ...)
0x0004.... ReadWriteDevice2(u8 deviceid, ...)
0x0005.... WriteDevice(u8 deviceid, ...)
0x00060102 ReadWriteDeviceArray(u8 deviceid, ...)
0x00070102 ReadWriteDevice2Array(u8 deviceid, ...)
0x000800C0 EnableDevice(u8 deviceid, bool onoff, u8 state)
0x00090040 PokeSomePdnReg(bool onoff)